Fixed starting files

This commit is contained in:
Nikolaj
2021-06-14 17:45:59 +02:00
parent 80575a8be1
commit fcf6e1e3c5
2 changed files with 4 additions and 3 deletions

View File

@ -90,15 +90,15 @@ def makeFiles():
with open("resources/startingFiles.json") as f:
data = json.load(f)
for path in data["folder"]:
directory(path)
for path, content in data["json"].items():
makeJsonFile(path,content)
for path, content in data["txt"].items():
makeTxtFile(path,content)
for path in data["folder"]:
directory(path)
# Replaces multiple things with the same thing
def replaceMultiple(mainString, toBeReplaces, newString):
# Iterate over the strings to be replaced