forked from Olav63/outils_OSM
temporisation sur Overpass
This commit is contained in:
parent
60078c9284
commit
daf711de2c
@ -103,6 +103,8 @@ def main():
|
||||
utils.save_as_json(export_json, req.nom)
|
||||
utils.save_as_ods(req.champs, data, req.nom)
|
||||
|
||||
# doucement sur overpass
|
||||
time.sleep(30)
|
||||
break
|
||||
except errors.ApiError:
|
||||
|
||||
@ -114,7 +116,7 @@ def main():
|
||||
|
||||
time.sleep(RETRY_DELAY)
|
||||
|
||||
print("Fini")
|
||||
print("\r\n ### Terminé ###")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user