From a1c10feae43b2c1f7db3201b0792df60caabb170 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Wed, 21 Sep 2016 16:54:03 +0200 Subject: [PATCH] Update commandManager.py --- src/fenrir-package/core/commandManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir-package/core/commandManager.py b/src/fenrir-package/core/commandManager.py index 5892701c..40d4b083 100644 --- a/src/fenrir-package/core/commandManager.py +++ b/src/fenrir-package/core/commandManager.py @@ -46,7 +46,7 @@ class commandManager(): for command in sorted(environment['commands'][section]): try: environment['commands'][section][command].shutdown(environment) - environment['commands'][section][command] = None + del environment['commands'][section][command] except Exception as e: print(e) environment['runtime']['debug'].writeDebugOut(environment,"Shutdown command:" + section + "." + cmd ,debug.debugLevel.ERROR)