From 617b327558d45b3c66dd09e98cda31b340de0beb Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Mon, 3 Aug 2020 22:47:06 +0200 Subject: [PATCH] :bug: --- funcs/miscFuncs.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/funcs/miscFuncs.py b/funcs/miscFuncs.py index 2c8f55d..1cf2d0b 100644 --- a/funcs/miscFuncs.py +++ b/funcs/miscFuncs.py @@ -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: