This commit is contained in:
Nikolaj Danger
2020-08-06 15:20:26 +02:00
parent 3c5e3e3a0a
commit 1b1068c59c
6 changed files with 6 additions and 7 deletions

View File

@ -121,8 +121,7 @@ def drawImage(channel):
winBar = winBar.rotate(diagonalAngle,expand=1)
startx -= placeGridSize[0]*3 + border
starty -= gridBorder + border
mask = winBar.copy()#.convert("L")
#mask.putalpha(128)
#mask.save("test.png")

View File

@ -24,7 +24,7 @@ def addMoney(user,amount):
data[user]["money"] = points + amount
else:
logThis("Error adding money")
with open("resources/users.json", "w") as f:
json.dump(data,f,indent=4)

View File

@ -165,7 +165,7 @@ def makeFolder(path):
def makeFiles():
with open("resources/startingFiles.json") as f:
data = json.load(f)
for path, content in data["json"].items():
makeJsonFile(path,content)