From 4be09641a33e00c84a257f4358ff6efd2fb9c619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 7 Nov 2022 23:03:00 +0100 Subject: oops, error can also happen when not in the deleted void gap - just see diff :facepalm: --- gather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gather.py b/gather.py index 6b5cd36..d52995c 100755 --- a/gather.py +++ b/gather.py @@ -104,7 +104,7 @@ try: elif r.text.startswith(''): logger.warning(f"received urllink parameter syntax error with no usable data for acsm {acsm_id}, so I did not store anything") force_acsm_id = acsm_id+1 - if acsm_id >= 199999: + if acsm_id >= 199999 and acsm_id <= 999999: logger.warning(f"on 2022-11-07, library removed access for acsms 200000-999999. skipping to 1000000") force_acsm_id = 1000000 failed_acsms += 1 -- cgit v1.2.3