diff --git a/lib/framework/version.py b/lib/framework/version.py index 1deaac4..81e510f 100644 --- a/lib/framework/version.py +++ b/lib/framework/version.py @@ -1 +1 @@ -VERSION="4.0.2" \ No newline at end of file +VERSION="4.0.3" \ No newline at end of file diff --git a/lib/system/mod_setting.py b/lib/system/mod_setting.py index 649a171..90dd5d3 100644 --- a/lib/system/mod_setting.py +++ b/lib/system/mod_setting.py @@ -202,6 +202,7 @@ class ModuleSetting(PluginModuleBase): if command == None: command = SystemModelSetting.get('celery_start_command') command = command.replace("{F.config['config_filepath']}", F.config['config_filepath']).replace('{F.config["config_filepath"]}', F.config['config_filepath']).replace("{F.config['path_working']}", F.config['path_working']).replace('{F.config["path_working"]}', F.config['path_working']) + command = command.split(' ') if mode == 'foreground': cmd = [ ['msg', f'명령 : {command}'], @@ -232,6 +233,9 @@ class ModuleSetting(PluginModuleBase): except NotRegistered: data['ret'] = 'danger' data['msg'] = 'Not Registered' + except: + data['ret'] = 'danger' + data['msg'] = '실패' else: data['ret'] = 'danger' data['msg'] = 'celery 실행환경이 아닙니다.'