update
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -143,3 +143,4 @@ pre_start.sh
|
|||||||
false
|
false
|
||||||
*copy.py
|
*copy.py
|
||||||
*.sh
|
*.sh
|
||||||
|
data/
|
||||||
@@ -309,7 +309,7 @@ class Framework:
|
|||||||
else:
|
else:
|
||||||
self.config['config_filepath'] = self.config['arg_config']
|
self.config['config_filepath'] = self.config['arg_config']
|
||||||
if os.path.exists(self.config['config_filepath']) == False:
|
if os.path.exists(self.config['config_filepath']) == False:
|
||||||
if self.config.get('running_type').startswith('docker'):
|
if self.config.get('running_type', '').startswith('docker'):
|
||||||
with open(self.config['config_filepath'], 'w', encoding='utf8') as f:
|
with open(self.config['config_filepath'], 'w', encoding='utf8') as f:
|
||||||
yaml.dump({'path_data':'/data'}, f, default_flow_style=False, allow_unicode=True)
|
yaml.dump({'path_data':'/data'}, f, default_flow_style=False, allow_unicode=True)
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -210,11 +210,11 @@ class PluginManager:
|
|||||||
elif entity['version'] == '4':
|
elif entity['version'] == '4':
|
||||||
mod_menu = getattr(entity['P'], 'menu')
|
mod_menu = getattr(entity['P'], 'menu')
|
||||||
|
|
||||||
if mod_menu:
|
if mod_menu and cls.all_package_list[key]['loading'] != False:
|
||||||
cls.plugin_menus[key]= {'menu':mod_menu, 'match':False}
|
cls.plugin_menus[key]= {'menu':mod_menu, 'match':False}
|
||||||
if entity['version'] == '4':
|
if entity['version'] == '4':
|
||||||
setting_menu = getattr(entity['P'], 'setting_menu')
|
setting_menu = getattr(entity['P'], 'setting_menu')
|
||||||
if setting_menu != None:
|
if setting_menu != None and cls.all_package_list[key]['loading'] != False:
|
||||||
cls.setting_menus.append(setting_menu)
|
cls.setting_menus.append(setting_menu)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
VERSION="4.0.11"
|
VERSION="4.0.14"
|
||||||
Binary file not shown.
Reference in New Issue
Block a user