forked from indymedia/epicyon
Append to results
parent
6c7f983c9d
commit
94bd278ef6
|
@ -317,7 +317,7 @@ def htmlSkillsSearch(baseDir: str,skillsearch: str,postsPerPage: int) -> str:
|
|||
skillLevelStr='0'+skillLevelStr
|
||||
indexStr=skillLevelStr+';'+actor+';'+actorJson['name']+';'+actorJson['icon']['url']
|
||||
if indexStr not in results:
|
||||
results.append()
|
||||
results.append(indexStr)
|
||||
# search actor cache
|
||||
for subdir, dirs, files in os.walk(baseDir+'/cache/actors/'):
|
||||
for f in files:
|
||||
|
@ -344,7 +344,7 @@ def htmlSkillsSearch(baseDir: str,skillsearch: str,postsPerPage: int) -> str:
|
|||
skillLevelStr='0'+skillLevelStr
|
||||
indexStr=skillLevelStr+';'+actor+';'+actorJson['name']+';'+actorJson['icon']['url']
|
||||
if indexStr not in results:
|
||||
results.append()
|
||||
results.append(indexStr)
|
||||
|
||||
results.sort(reverse=True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue