Update commandManager.py
This commit is contained in:
parent
7a072747b6
commit
a1c10feae4
@ -46,7 +46,7 @@ class commandManager():
|
|||||||
for command in sorted(environment['commands'][section]):
|
for command in sorted(environment['commands'][section]):
|
||||||
try:
|
try:
|
||||||
environment['commands'][section][command].shutdown(environment)
|
environment['commands'][section][command].shutdown(environment)
|
||||||
environment['commands'][section][command] = None
|
del environment['commands'][section][command]
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
environment['runtime']['debug'].writeDebugOut(environment,"Shutdown command:" + section + "." + cmd ,debug.debugLevel.ERROR)
|
environment['runtime']['debug'].writeDebugOut(environment,"Shutdown command:" + section + "." + cmd ,debug.debugLevel.ERROR)
|
||||||
|
Loading…
Reference in New Issue
Block a user