commit
8789c94d82
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ class ExtensionImporter(object):
|
||||||
if module_name == important_module:
|
if module_name == important_module:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# Some python versions will will clean up modules so early that the
|
# Some python versions will clean up modules so early that the
|
||||||
# module name at that point is no longer set. Try guessing from
|
# module name at that point is no longer set. Try guessing from
|
||||||
# the filename then.
|
# the filename then.
|
||||||
filename = os.path.abspath(tb.tb_frame.f_code.co_filename)
|
filename = os.path.abspath(tb.tb_frame.f_code.co_filename)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue