Implemented file check rather than error handler

pull/356/head
Daniel Hougaard 3 years ago
parent 3e5f3f6362
commit cbf889dd12

@ -90,10 +90,10 @@ loader = Loader("Saving Credentials...", "Done!").start()
# you can also put a while loop here, e.g. while VideoIsBeingMade == True: ... # you can also put a while loop here, e.g. while VideoIsBeingMade == True: ...
time.sleep(0.5) time.sleep(0.5)
try: if os.path.exists('.env'):
console.log("Removing old .env file...") console.log("Removing old .env file...")
os.remove(".env") os.remove(".env")
except: else:
console.log("No .env file found.") console.log("No .env file found.")
time.sleep(0.5) time.sleep(0.5)

Loading…
Cancel
Save