From 200210f8a6f89c002542419252b33aee1742e929 Mon Sep 17 00:00:00 2001 From: Aman Sachan Date: Thu, 21 May 2026 03:17:50 +0000 Subject: [PATCH] fix: replace bare except with except Exception in iksm.py --- iksm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iksm.py b/iksm.py index 80b5924..96c0961 100644 --- a/iksm.py +++ b/iksm.py @@ -56,7 +56,7 @@ def get_nsoapp_version(): NSOAPP_VERSION = ver return NSOAPP_VERSION - except: # fallback to apple app store + except Exception: # fallback to apple app store try: page = requests.get("https://apps.apple.com/us/app/nintendo-switch-online/id1234806557") soup = BeautifulSoup(page.text, 'html.parser') @@ -66,7 +66,7 @@ def get_nsoapp_version(): NSOAPP_VERSION = ver return NSOAPP_VERSION - except: # error with web request + except Exception: # error with web request pass return NSOAPP_VER_FALLBACK