temporisation sur Overpass

This commit is contained in:
SebF 2021-10-10 19:53:43 +02:00
parent 60078c9284
commit daf711de2c

View File

@ -103,6 +103,8 @@ def main():
utils.save_as_json(export_json, req.nom) utils.save_as_json(export_json, req.nom)
utils.save_as_ods(req.champs, data, req.nom) utils.save_as_ods(req.champs, data, req.nom)
# doucement sur overpass
time.sleep(30)
break break
except errors.ApiError: except errors.ApiError:
@ -114,7 +116,7 @@ def main():
time.sleep(RETRY_DELAY) time.sleep(RETRY_DELAY)
print("Fini") print("\r\n ### Terminé ###")
if __name__ == "__main__": if __name__ == "__main__":