mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 00:25:06 +02:00
decode proc
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ def get_config_data():
|
||||
except:
|
||||
log.critical("ERROR: Could not execute: %s" % config_cmd)
|
||||
sys.exit(2)
|
||||
return proc.communicate()[0]
|
||||
return proc.communicate()[0].decode()
|
||||
|
||||
try:
|
||||
with open(config_file) as f:
|
||||
|
||||
Reference in New Issue
Block a user