From 45f67c3cce6d9e1d6ed52afc2d201b049bff71df Mon Sep 17 00:00:00 2001 From: Dan Hamik Date: Wed, 1 Jan 2025 00:23:48 -0600 Subject: [PATCH] changing logic for ill check --- libnotices.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libnotices.py b/libnotices.py index 49f3757..92267a8 100644 --- a/libnotices.py +++ b/libnotices.py @@ -140,6 +140,7 @@ for myaccount in accounts: myisbn = mybook['resource']['coverUrl']['small'].split('=')[1].split("/")[0] except: myisbn='' + if myisbn=='': if re.match("*ILL",mybook['resource']['title']): isill=True try: