changed plugin checker so only template can be used to #21
This commit is contained in:
parent
5c80eb2c98
commit
beae291a85
|
|
@ -197,10 +197,10 @@ def indexPlugins(params={}):
|
|||
fol['id'] = len(indexes)
|
||||
fol['folder'] = i
|
||||
fol['status'] = 'install'
|
||||
for filename in os.listdir('plugins/'):
|
||||
for filename in os.listdir('templates/'):
|
||||
installedPlugins.append(filename)
|
||||
|
||||
for filename in os.listdir(indexFolderPath + i + '/plugins'):
|
||||
for filename in os.listdir(indexFolderPath + i + '/templates'):
|
||||
if filename in installedPlugins:
|
||||
installed_version = getPluginVersion(docsFolderPath + i + '_readme.md')
|
||||
indexed_version = getPluginVersion(indexFolderPath + i + '/' + docsFolderPath + 'readme.md')
|
||||
|
|
|
|||
Loading…
Reference in New Issue