Rework:solve problem of saving result of --sql-query in CSV file

This commit is contained in:
Aridhi-Dhia-eddine 2024-04-12 01:58:11 +01:00
parent 372f80cfce
commit cf2d76a863

View File

@ -733,7 +733,7 @@ class Dump(object):
for j in range(len(temp_res)): for j in range(len(temp_res)):
d.update({temp_res[j]:s[j]}) d.update({temp_res[j]:s[j]})
dt_save.append(d) dt_save.append(d)
print(dt_save)
#******************************************* #*******************************************
file_csv="data_save.csv" file_csv="data_save.csv"
if(len(queryRes)!=0): if(len(queryRes)!=0):