Skip to content

Commit

Permalink
added missing docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Apr 15, 2018
1 parent bd64185 commit ae91c25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nikola/plugins/shortcode/chart.py
Expand Up @@ -44,6 +44,7 @@ class Plugin(ShortcodePlugin):
name = "chart"

def handler(self, chart_type, **_options):
"""Generate chart using Pygal."""
if pygal is None:
msg = req_missing(
['pygal'], 'use the Chart directive', optional=True)
Expand Down

0 comments on commit ae91c25

Please sign in to comment.