Commit 13d61e36 authored by Ismail Moumni's avatar Ismail Moumni
Browse files

errors editing

parent 861ad65b
Pipeline #1496 passed with stage
in 18 seconds
......@@ -52,7 +52,7 @@ def query_process(sock: socket, query: dict):
# Sending default generator values
elif ((list(query.keys()))[0] == "default"):
gen = query["default"]
print("generator :",gen)
print("generator :", gen)
resp = client_generator({gen})
sock.send(bytes(json.dumps(resp), "utf-8"))
......@@ -87,7 +87,7 @@ def client_generator(generator: dict):
if generator is not None:
res = db.getParameters(generator)
return res
else :
else:
return Exception("Generator 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