🐛
This commit is contained in:
@ -195,6 +195,16 @@ def makeFiles():
|
|||||||
finally:
|
finally:
|
||||||
f.close()
|
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
|
# Creates token.txt if it doesn't exist
|
||||||
try:
|
try:
|
||||||
f = open("token.txt","r")
|
f = open("token.txt","r")
|
||||||
|
Reference in New Issue
Block a user