Commit 1999a656 authored by Ismail Moumni's avatar Ismail Moumni
Browse files

adding list generator

parent 05cdbdc7
Pipeline #1305 failed with stage
in 12 seconds
...@@ -123,7 +123,7 @@ def list_generator(): ...@@ -123,7 +123,7 @@ def list_generator():
mycur.execute(sql_get_generators) mycur.execute(sql_get_generators)
res = mycur.fetchall() res = mycur.fetchall()
mycur.close() mycur.close()
for a, b in res: for a,b in res:
generators[b] = a generators[b] = a
return generators return generators
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