mirror of
https://github.com/chaosz0ne/tilesetCopyrighter.git
synced 2025-06-30 04:16:38 +02:00
überschreibend
This commit is contained in:
parent
a7450f2c8b
commit
50a11c7aec
2 changed files with 8 additions and 4 deletions
|
@ -27,7 +27,7 @@ def addLiz(ts, lizTxt):
|
|||
|
||||
print("Tiled-Editor Copyright-Info nach rc3.world-Vorgaben hinzufügen")
|
||||
print("Datei rechte.json passend befüllen, dann Aufruf")
|
||||
print(sys.argv[0] + "{$0} <tiledmapdatei.json>")
|
||||
print(sys.argv[0] + " <tiledmapdatei.json>")
|
||||
print("Die <tiledmapdatei.json> wird modifiziert! Vorher eigene Änderungen committen!")
|
||||
print("")
|
||||
|
||||
|
@ -64,8 +64,8 @@ with open("rechte.json", "r") as rechte_file:
|
|||
exit(1)
|
||||
|
||||
|
||||
with open("zz" + tiledfile, "w") as map_out_file:
|
||||
json.dump(mapjson, map_out_file, indent=8)
|
||||
with open(tiledfile, "w") as map_out_file:
|
||||
json.dump(mapjson, map_out_file, indent=4)
|
||||
print("geschrieben")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue