synoindex proper logging
This commit is contained in:
1 parent
0be1408288
commit
17149a58f1
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user