Changed update so it doesn't retry to fast

Refactored code
This commit is contained in:
Brandon4466
2023-03-08 20:26:45 -08:00
parent 8a5afa9a36
commit 1c4024be7d
6 changed files with 90 additions and 48 deletions

6
handler.py Normal file
View File

@@ -0,0 +1,6 @@
def handler():
try:
exec(open('spotifycontroller.py').read())
except:
print("An error has ocurred, reestablishing the application now.")
exec(open('spotifycontroller.py').read())