Try and encode logging messages. fix #403

This commit is contained in:
Ruud
2012-06-11 12:38:22 +02:00
parent 9cb4d8842c
commit e0440d4b11
59 changed files with 274 additions and 259 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ class Plex(Notification):
x = self.urlopen(url)
except:
log.error('Plex library update failed for %s: %s' % (host, traceback.format_exc()))
log.error('Plex library update failed for %s: %s', (host, traceback.format_exc()))
return False
return True
@@ -63,5 +63,5 @@ class Plex(Notification):
log.error("Couldn't sent command to Plex")
return False
log.info('Plex notification to %s successful.' % host)
log.info('Plex notification to %s successful.', host)
return True