Fixed out-of-scope variables. Might need a better fix. Fixes #5680
This commit is contained in:
parent
36ea39e74a
commit
6081909a26
|
@ -1671,6 +1671,7 @@ class ToplevelAgentBrowser(AgentBrowser):
|
|||
|
||||
# Search for an icon and category we can display
|
||||
pix = self.cache.get_icon(identities)
|
||||
cat, type_ = None, None
|
||||
for identity in identities:
|
||||
try:
|
||||
cat, type_ = identity['category'], identity['type']
|
||||
|
|
Loading…
Reference in New Issue