mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Modified spotipy for auth
This commit is contained in:
@@ -8,5 +8,7 @@ def signal_handler(sig, frame):
|
||||
print("\nCaught interrupt(did you press Ctrl+C?), stopping spotify_dl")
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
signal.signal(signal.SIGINT, signal_handler)
|
||||
try:
|
||||
signal.signal(signal.SIGINT, signal_handler)
|
||||
except ValueError:
|
||||
print("Exception in signal handler")
|
||||
|
||||
Reference in New Issue
Block a user