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:
|
try:
|
||||||
p = subprocess.Popen(command, stdout = subprocess.PIPE, stderr = subprocess.STDOUT)
|
p = subprocess.Popen(command, stdout = subprocess.PIPE, stderr = subprocess.STDOUT)
|
||||||
out = p.communicate()
|
out = p.communicate()
|
||||||
log.info('Result from synoindex: %s' % out)
|
log.info('Result from synoindex: %s' % str(out))
|
||||||
return True
|
return True
|
||||||
except OSError, e:
|
except OSError, e:
|
||||||
log.error('Unable to run synoindex: %s' % e)
|
log.error('Unable to run synoindex: %s' % e)
|
||||||
|
|||||||
Reference in new issue
Block a user