Commit 353b89e7 authored by Ismail Moumni's avatar Ismail Moumni
Browse files

editing

parent 1d593cb7
Pipeline #1423 failed with stage
in 12 seconds
...@@ -99,7 +99,7 @@ def query_valid(data: dict): ...@@ -99,7 +99,7 @@ def query_valid(data: dict):
# Function json_to_dict returns a dictionary # Function json_to_dict returns a dictionary
def json_to_dict(data): def json_to_dict(data):
if data is not None: if data is not None:
result = json.loads(js) result = json.loads(data)
return result return result
else: else:
raise Exception("Dictionnaire Vide!!") raise Exception("Dictionnaire Vide!!")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment