Skip to content
Snippets Groups Projects
Commit 6081909a authored by Alexander Cherniuk's avatar Alexander Cherniuk
Browse files

Fixed out-of-scope variables. Might need a better fix. Fixes #5680

parent 36ea39e7
No related branches found
No related tags found
No related merge requests found
......@@ -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']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment