From 94bd278ef6d357f5666a3d0ffa718970c11dc819 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 28 Aug 2019 09:46:52 +0100 Subject: [PATCH] Append to results --- webinterface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index 7de1b55e..20a2af32 100644 --- a/webinterface.py +++ b/webinterface.py @@ -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)