synoindex proper logging

This commit is contained in:
Ruud
2012-01-14 14:51:39 +01:00
parent 0be1408288
commit 17149a58f1
@@ -19,7 +19,7 @@ class Synoindex(Notification):
try:
p = subprocess.Popen(command, stdout = subprocess.PIPE, stderr = subprocess.STDOUT)
out = p.communicate()
log.info('Result from synoindex: %s' % out)
log.info('Result from synoindex: %s' % str(out))
return True
except OSError, e:
log.error('Unable to run synoindex: %s' % e)