Skip to content
Snippets Groups Projects
Commit 973f36e7 authored by Adrien Chabod's avatar Adrien Chabod
Browse files

Patch sql

parent 36ace5e8
No related branches found
No related tags found
1 merge request!1MAJ BDD + Data commande fonctionnel
......@@ -108,5 +108,5 @@ def formalize_data_list(function):
def unformalize_data_list(initial_data: str):
sublists = initial_data.split("/")
sublist_data = [x.split(",") for x in sublists]
new_data = [[k for k in x] for x in sublist_data]
new_data = [[None if 'None' in k else k for k in x] for x in sublist_data]
return tuple(new_data)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment