forked from Olav63/outils_OSM
gestion de la création/existence du dossier de sauvegarde
This commit is contained in:
parent
b2b0ee0551
commit
9b9b0ffd0d
@ -420,6 +420,7 @@ def executer_requete_et_exporter_resultats(nom_req, critere, aire_de_recherche,
|
||||
|
||||
|
||||
# print (json.dumps(export_json))
|
||||
os.makedirs(dossier_sauvegarde, exist_ok = True)
|
||||
|
||||
jsonFile = open(dossier_sauvegarde + nom_req+".json", "w")
|
||||
jsonFile.write(json.dumps(export_json))
|
||||
|
Loading…
Reference in New Issue
Block a user