synoindex proper logging
This commit is contained in:
@@ -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