error handling
This commit is contained in:
@ -30,3 +30,5 @@ if response.reason == "OK":
|
||||
notify(-1, loads(response.text)['uri'])
|
||||
else:
|
||||
notify(1, response.reason)
|
||||
else:
|
||||
notify(1, response.reason)
|
||||
|
Reference in New Issue
Block a user