Skip to content
Permalink
Browse files
added missing docstring
  • Loading branch information
ralsina committed Apr 15, 2018
1 parent bd64185 commit ae91c255c29e7ea5f7138a768ac972e309c44618
Showing with 1 addition and 0 deletions.
  1. +1 −0 nikola/plugins/shortcode/chart.py
@@ -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)

0 comments on commit ae91c25

Please sign in to comment.