Skip to content

Commit

Permalink
flake
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Feb 14, 2016
1 parent bb507ab commit 041b19d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/compile/rest/chart.py
Expand Up @@ -146,7 +146,7 @@ def _gen_chart(chart_type, **_options):
return '<div class="text-error">{0}</div>'.format(msg)
options = {}
data = _options.pop('data')
site = _options.pop('site')
_options.pop('site')
if 'style' in _options:
style_name = _options.pop('style')
else:
Expand Down
1 change: 1 addition & 0 deletions nikola/plugins/compile/rest/media.py
Expand Up @@ -64,6 +64,7 @@ def run(self):
html = _gen_media_embed(" ".join(self.arguments))
return [nodes.raw('', html, format='html')]


def _gen_media_embed(url, *q, **kw):
if micawber is None:
msg = req_missing(['micawber'], 'use the media directive', optional=True)
Expand Down

0 comments on commit 041b19d

Please sign in to comment.