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