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