fix #11 retry Overpass

This commit is contained in:
SebF 2021-11-06 19:33:43 +01:00
parent 8dec9b769b
commit 567b356a5e

View File

@ -188,7 +188,7 @@ def main():
break
except errors.ApiError:
if nb_essai == MAX_RETRY:
if nb_essai >= MAX_RETRY - 1:
logging.error("Trop d'erreurs d'API - abandon")
exit()