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+='

'+sharedItem['displayName']+'

' - if sharedItem('imageUrl'): + if sharedItem.get('imageUrl'): sharedItemsForm+='' sharedItemsForm+='Item image' sharedItemsForm+='

'+sharedItem['summary']+'

'