Try and encode logging messages. fix #403
This commit is contained in:
1 parent
9cb4d8842c
commit
e0440d4b11
59 files changed
+274
-259
No files matched your search
@@ -32,7 +32,7 @@ class Prowl(Notification):
|
||||
log.info('Prowl notifications sent.')
|
||||
return True
|
||||
elif request_status == 401:
|
||||
log.error('Prowl auth failed: %s' % response.reason)
|
||||
log.error('Prowl auth failed: %s', response.reason)
|
||||
return False
|
||||
else:
|
||||
log.error('Prowl notification failed.')
|
||||
|
||||
Reference in new issue
Block a user