Files
pokeplatinum/tools
Rachel 96bb8cacf5 tools: Fix f-string quotations in lsfgen
Python 3.10 (vendored by Ubuntu 22.04) fails with the following error:

```
python3 tools/scripts/lsfgen.py platinum.us/main.lsf.in --prefix-dir main.nef.p/ \
		--dest-lsf platinum.us/main.lsf \
		--dest-c src/meson.build
  File ".../tools/scripts/lsfgen.py", line 103
    entries = "".join(f"    '{"/".join(path.parts[1:])}',\n" for path in parsed.sources[kind])
                               ^
SyntaxError: f-string: expecting '}'
```

Wrapping the `f`-string in triple-quotes resolves it entirely.
2026-10-19 09:21:17 -07:00
..