From 634bcd4a149614befd21d9c756bc8c28e25b2949 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Aug 2019 22:16:38 +0100 Subject: [PATCH] get --- webinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index 9852bd83..c344b799 100644 --- a/webinterface.py +++ b/webinterface.py @@ -136,7 +136,7 @@ def htmlSearchSharedItems(baseDir: str,searchStr: str,pageNumber: int,resultsPer if currPage==pageNumber: sharedItemsForm+='
' sharedItemsForm+='' - if sharedItem('imageUrl'): + if sharedItem.get('imageUrl'): sharedItemsForm+='' sharedItemsForm+='Item image' sharedItemsForm+='

'+sharedItem['summary']+'

'