🐛
This commit is contained in:
1 parent
ede4c11564
commit
617b327558
1 file changed
+10
@@ -195,6 +195,16 @@ def makeFiles():
|
||||
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:
|
||||
f = open("token.txt","r")
|
||||
|
||||
Reference in new issue
Block a user