diff --git a/createReport.py b/createReport.py index 32a3115..ba94ca2 100644 --- a/createReport.py +++ b/createReport.py @@ -64,7 +64,7 @@ def getSLO(DTAPIToken, DTENV, fromDate, toDate): #df = pd.json_normalize(cont['slo']) #python2 - df = pd.read_json(cont['slo']) + df = pd.DataFrame.from_dict(cont['slo']) except Exception as e: print(e) print("No SLO json returned")