🐛 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.
|
# An app may come without any routes.
|
||||||
try:
|
try:
|
||||||
importlib.import_module(mod_name)
|
importlib.import_module(mod_name)
|
||||||
except ModuleNotFound:
|
except ModuleNotFoundError:
|
||||||
return
|
return
|
||||||
|
|
||||||
# Avoid duplicates.
|
# Avoid duplicates.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue