update
This commit is contained in:
@@ -309,7 +309,7 @@ class Framework:
|
||||
else:
|
||||
self.config['config_filepath'] = self.config['arg_config']
|
||||
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:
|
||||
yaml.dump({'path_data':'/data'}, f, default_flow_style=False, allow_unicode=True)
|
||||
else:
|
||||
|
||||
@@ -210,11 +210,11 @@ class PluginManager:
|
||||
elif entity['version'] == '4':
|
||||
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}
|
||||
if entity['version'] == '4':
|
||||
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)
|
||||
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
VERSION="4.0.11"
|
||||
VERSION="4.0.14"
|
||||
Reference in New Issue
Block a user