mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fixed bug in class_import
This commit is contained in:
parent
2782e03478
commit
bb5b2b6fd8
1 changed files with 1 additions and 0 deletions
|
|
@ -948,6 +948,7 @@ def class_from_module(path, defaultpaths=None):
|
|||
if not str(ex).startswith("No module named"):
|
||||
exc = sys.exc_info()
|
||||
raise exc[1], None, exc[2]
|
||||
continue
|
||||
try:
|
||||
cls = getattr(mod, clsname)
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue