Commit 28435766 authored by Roque's avatar Roque

fix in try-except

parent e6d5c6e5
......@@ -193,6 +193,6 @@ class CacheableAction(object):
param_dict['url'] = action is not None and action(ec) or ''
icon = self.icon
param_dict['icon'] = icon is not None and icon(ec) or ''
except:
except KeyError:
pass
return param_dict
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment