diff --git a/exe/webui/common.py b/exe/webui/common.py index dabb815c57..22a1479432 100644 --- a/exe/webui/common.py +++ b/exe/webui/common.py @@ -491,7 +491,7 @@ def ideviceHeader(e, style, mode): w2 = '
'+lb w2 += '
'+lb eEm = ' em_iDevice' - if e.idevice.icon != "": + if e.idevice.icon and e.idevice.icon != "": eEm += ' em_iDevice_'+e.idevice.icon if mode=="preview" and themeHasXML: