🐛
This commit is contained in:
1 parent
cefe891fa7
commit
4cc1cce39d
1 file changed
+10
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user