This commit is contained in:
flaskfarm
2022-10-14 15:38:44 +09:00
parent e0ab051c29
commit 206b116bf4
5 changed files with 9 additions and 21 deletions

View File

@@ -55,7 +55,8 @@ class PluginManager:
# 2018-09-04
try:
plugin_path = F.SystemModelSetting.get('plugin_dev_path')
#plugin_path = F.SystemModelSetting.get('plugin_dev_path')
plugin_path = F.config['path_dev']
if plugin_path != None and plugin_path != '':
if os.path.exists(plugin_path):
sys.path.insert(0, plugin_path)