mirror of
https://github.com/simon987/sist2.git
synced 2025-12-10 22:18:54 +00:00
text_buffer bug fixes & Sort option
This commit is contained in:
@@ -14,4 +14,5 @@ def clean(filepath):
|
||||
for file in files:
|
||||
with open(file, "r") as f:
|
||||
data = json.dumps(json.load(f), separators=(",", ":")).encode()
|
||||
data += b'\0'
|
||||
print("char %s[%d] = {%s};" % (clean(file), len(data), ",".join(str(int(b)) for b in data)))
|
||||
|
||||
Reference in New Issue
Block a user