Skip to content

Commit

Permalink
Fix #522 - Broken iDevice
Browse files Browse the repository at this point in the history
Error loading idevices without icon
  • Loading branch information
ManuelMayoSdweb committed Aug 13, 2020
1 parent 1cd59b1 commit 35d9d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exe/webui/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def ideviceHeader(e, style, mode):
w2 = '<div class="iDevice_inner">'+lb
w2 += '<div class="iDevice_content_wrapper">'+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:
Expand Down

0 comments on commit 35d9d47

Please sign in to comment.