Skip to content

Commit

Permalink
Global plugin handler/Python 3: dict.iteritems -> dict.items. Re nvac…
Browse files Browse the repository at this point in the history
  • Loading branch information
josephsl committed Jun 4, 2019
1 parent 9109ab0 commit 148e5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/globalPluginHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def reloadGlobalPlugins():
global globalPlugins
terminate()
del globalPlugins
mods=[k for k,v in sys.modules.iteritems() if k.startswith("globalPlugins") and v is not None]
mods=[k for k,v in sys.modules.items() if k.startswith("globalPlugins") and v is not None]
for mod in mods:
del sys.modules[mod]
import globalPlugins
Expand Down

0 comments on commit 148e5a2

Please sign in to comment.