removed dodgy error handling
This commit is contained in:
parent
89f8c8961b
commit
e00dda22a1
@ -45,7 +45,6 @@ class PlaylistEngine:
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
log.log("requested playlist {} not found".format(part))
|
log.log("requested playlist {} not found".format(part))
|
||||||
if play is not None:
|
|
||||||
if 'SLACKHOOK' in os.environ:
|
if 'SLACKHOOK' in os.environ:
|
||||||
requests.post(os.environ['SLACKHOOK'], json={"text": "spot playlists: {} not found".format(part)})
|
requests.post(os.environ['SLACKHOOK'], json={"text": "spot playlists: {} not found".format(part)})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user