This commit is contained in:
NikolajDanger
2020-07-29 19:27:34 +02:00
parent 8d42217eff
commit 2dec843a0e

View File

@@ -197,6 +197,11 @@ def makeFiles():
os.makedirs("resources/games/4InARowBoards") os.makedirs("resources/games/4InARowBoards")
logThis("The tables directory didn't exist") logThis("The tables directory didn't exist")
# Creates the 4InARowBoards foulder if it doesn't exist
if os.path.isdir("resources/games/oldImages") == False:
os.makedirs("resources/games/oldImages")
logThis("The tables directory didn't exist")
# Replaces multiple things with the same thing # Replaces multiple things with the same thing
def replaceMultiple(mainString, toBeReplaces, newString): def replaceMultiple(mainString, toBeReplaces, newString):
# Iterate over the strings to be replaced # Iterate over the strings to be replaced