Ignore ModuleNotFoundError in yli.reload
This commit is contained in:
parent
645cb7a85e
commit
5b08784498
@ -28,4 +28,7 @@ def reload_me():
|
||||
|
||||
for k, v in list(sys.modules.items()):
|
||||
if k == 'yli' or k.startswith('yli.'):
|
||||
try:
|
||||
importlib.reload(v)
|
||||
except ModuleNotFoundError:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user