Skip to content

Commit

Permalink
fixed quotations
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsreiter committed Dec 15, 2024
1 parent 298a1ff commit 51094ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
sorted_json = {k: d[k] for k in sorted(d)}
with open('output.json', 'w') as f:
for key, value in sorted_json.items():
f.write(f'{json.dumps(value, separators=(',', ':'), ensure_ascii=False)},\n')
f.write(f'{ json.dumps(value, separators=(",", ":"), ensure_ascii=False) },\n')
f.write("""{"colors":[
[ range(hue_min|default(0),hue_max|default(360))|random,range(sat_min|default(99),sat_max|default(101))|random ],
[ range(hue_min|default(0),hue_max|default(360))|random,range(sat_min|default(99),sat_max|default(101))|random ],
Expand Down

0 comments on commit 51094ea

Please sign in to comment.