mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-13 08:46:09 +01:00
bug fix: encodings and imports
This commit is contained in:
@@ -14,7 +14,7 @@ class ServiceManager:
|
||||
path = '/etc/pdns/pdns.conf'
|
||||
|
||||
data = ProcessUtilities.outputExecutioner('sudo cat ' + path).splitlines()
|
||||
#data = subprocess.check_output(shlex.split('sudo cat ' + path)).splitlines()
|
||||
#data = subprocess.check_output(shlex.split('sudo cat ' + path)).decode("utf-8").splitlines()
|
||||
|
||||
|
||||
if type == 'MASTER':
|
||||
|
||||
Reference in New Issue
Block a user