🐛 Fix ModuleNotFoundError typo
This commit is contained in:
parent
1ef64c2b17
commit
b1222c64d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue