From beba92693388573762e72121aa5b4d8129e2a3c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 7 Nov 2022 23:24:13 +0100 Subject: napaka pri prenosu resopnse 1004447 --- gather.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gather.py b/gather.py index d52995c..05f35f4 100755 --- a/gather.py +++ b/gather.py @@ -94,6 +94,9 @@ try: if acsm_id < guaranteed_large_acsm_id: logger.error(f"this shouldn't happen. I have a hardcoded value that tells me that at time of program writing, acsm id {guaranteed_large_acsm_id} did exist on the server. dying anyways.") break + elif r.text.startswith("Napaka pri prenosu"): + logger.warning(f"'napaka pri prenosu' received from http for acsm id {acsm_id}, skipping") + force_acsm_id = acsm_id+1 elif r.text.startswith('