diff --git a/src/ohmyapi/core/runtime.py b/src/ohmyapi/core/runtime.py index 0b110f8..191136d 100644 --- a/src/ohmyapi/core/runtime.py +++ b/src/ohmyapi/core/runtime.py @@ -306,7 +306,7 @@ class App: # An app may come without any routes. try: importlib.import_module(mod_name) - except ModuleNotFound: + except ModuleNotFoundError: return # Avoid duplicates.