mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-04 05:39:04 +01:00
p3
This commit is contained in:
@@ -38,7 +38,7 @@ def preDockerRun(function):
|
||||
try:
|
||||
client = docker.from_env()
|
||||
client.ping()
|
||||
except BaseException, msg:
|
||||
except BaseException as msg:
|
||||
logging.writeToFile(str(msg))
|
||||
if isPost:
|
||||
data_ret = {'status': 0, 'error_message': 'Docker daemon not running or not responsive'}
|
||||
|
||||
Reference in New Issue
Block a user