Skip to content

Commit

Permalink
changed plugin checker so only template can be used to #21
Browse files Browse the repository at this point in the history
  • Loading branch information
squandor committed Jan 18, 2017
1 parent 5c80eb2 commit beae291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit beae291

Please sign in to comment.