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