Skip to content
Snippets Groups Projects
Unverified Commit fbda4d95 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony Committed by GitHub
Browse files

Update __init__.py

parent ff73763e
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ def import_qt(modulename, package, attr=None): ...@@ -50,7 +50,7 @@ def import_qt(modulename, package, attr=None):
if modulename.startswith('.'): if modulename.startswith('.'):
try: try:
lib = import_module(modulename + LIB_SUFFIX, package) lib = import_module(modulename + LIB_SUFFIX, package)
except ImportError as e: except ImportError:
lib = import_module(modulename.lstrip('.') + LIB_SUFFIX) lib = import_module(modulename.lstrip('.') + LIB_SUFFIX)
else: else:
lib = import_module(modulename + LIB_SUFFIX) lib = import_module(modulename + LIB_SUFFIX)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment