From 78acf2776a5fe65d49518660a86b4d8af1d111a2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 19 Aug 2019 21:34:31 +0100 Subject: [PATCH] More instructive --- webinterface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webinterface.py b/webinterface.py index 36e6c371e..6110be33b 100644 --- a/webinterface.py +++ b/webinterface.py @@ -77,6 +77,8 @@ def htmlSearchEmoji(baseDir: str,searchStr: str) -> str: for emojiName,filename in emojiJson.items(): if emojiName in searchStr: results[emojiName] = filename+'.png' + if len(results.items())>0: + emojiForm+='
Copy the text then paste it into your post
' emojiForm+='
' for emojiName,filename in results.items(): emojiForm+='

:'+emojiName+':

'