Skip to content

Commit

Permalink
Update python/utils.py
Browse files Browse the repository at this point in the history
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
rldhont and m-kuhn committed May 10, 2019
1 parent 5c2f70b commit 3e3490e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/utils.py
Expand Up @@ -412,7 +412,7 @@ def _unloadPluginModules(packageName):
sys.modules[mod].qCleanupResources()
except:
# Print stack trace for debug
qDebug("qCleanupResources error:\n%s" % traceback.format_exc())
pass

# try removing path
if hasattr(sys.modules[mod], '__path__'):
Expand Down

0 comments on commit 3e3490e

Please sign in to comment.