This commit is contained in:
NikolajDanger
2020-08-03 22:50:49 +02:00
parent cefe891fa7
commit 4cc1cce39d

View File

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