Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Aug 2, 2018
1 parent 2304627 commit fd55a7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nikola/plugins/shortcode/chart.py
Expand Up @@ -74,7 +74,8 @@ def handler(self, chart_type, **_options):
else:
style = getattr(pygal.style, style_name)
for k, v in options.items():
try: options[k] = literal_eval(v)
try:
options[k] = literal_eval(v)
except Exception:
options[k] = v
chart = pygal
Expand Down

0 comments on commit fd55a7c

Please sign in to comment.