This commit is contained in:
flaskfarm
2022-10-13 02:18:07 +09:00
parent e599b0c4aa
commit dd926f2035
2 changed files with 13 additions and 7 deletions

View File

@@ -433,6 +433,8 @@ class PluginManager:
if F.config['plugin_update'] != True:
return
plugins_path = os.path.join(F.config['path_data'], 'plugins')
if os.path.exists(plugins_path) == False:
return
tmps = os.listdir(plugins_path)
for t in tmps:
plugin_path = os.path.join(plugins_path, t)