This commit is contained in:
NikolajDanger
2020-08-03 22:47:06 +02:00
parent ede4c11564
commit 617b327558

View File

@ -194,6 +194,16 @@ def makeFiles():
f.write("")
finally:
f.close()
# Creates movies.txt if it doesn't exist
try:
f = open("resources/movies.txt","r")
except:
logThis("movies.txt didn't exist. Making it now.")
with open("resources/movies.txt","w") as f:
f.write("The Room")
finally:
f.close()
# Creates token.txt if it doesn't exist
try: