Browse Source

fix reload module

dev
BreakWa11 8 years ago
parent
commit
b812ab10bf
  1. 2
      importloader.py

2
importloader.py

@ -4,6 +4,7 @@
def load(name):
try:
obj = __import__(name)
reload(obj)
return obj
except:
pass
@ -11,6 +12,7 @@ def load(name):
try:
import importlib
obj = importlib.__import__(name)
importlib.reload(obj)
return obj
except:
pass

Loading…
Cancel
Save