mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-28 04:23:37 +01:00
fxconv: fix stupid compact mode bug
This commit is contained in:
parent
6e62fb7d6d
commit
4a84bfdcd4
1 changed files with 2 additions and 1 deletions
|
@ -1339,7 +1339,8 @@ def pyout(bits, output, params):
|
|||
if isinstance(section, bytes):
|
||||
if params["py"]["compact"]:
|
||||
fp.write(b'b"')
|
||||
fp.write(section)
|
||||
for byte in section:
|
||||
fp.write(byteify(byte))
|
||||
fp.write(b'"')
|
||||
else:
|
||||
fp.write(repr(section).encode("utf-8"))
|
||||
|
|
Loading…
Reference in a new issue