Added compatibility of docker-socket-proxy example in docker-compose to bypass docker access problems and add ACLs
This commit is contained in:
@@ -1909,10 +1909,10 @@ class AppBase:
|
||||
basejson = json.loads(baseresult)
|
||||
except json.decoder.JSONDecodeError as e:
|
||||
try:
|
||||
#baseresult = baseresult.replace("\'", "\"")
|
||||
baseresult = baseresult.replace("\'", "\"")
|
||||
basejson = json.loads(baseresult)
|
||||
except json.decoder.JSONDecodeError as e:
|
||||
print("Parser issue with JSON: %s" % e)
|
||||
print(f"[ERROR] Parser issue with JSON for {baseresult}: {e}")
|
||||
return str(baseresult)+str(appendresult), False
|
||||
|
||||
print("[INFO] After fourth parser return as JSON")
|
||||
|
||||
Reference in New Issue
Block a user