Skip to content
Browse files

Make Codacy happier

Signed-off-by: Chris Warrick <>
  • Loading branch information...
Kwpolska committed Sep 19, 2017
1 parent 1fd1d3e commit 0a649f47c15af10136725e0cb2540e20fecf4c81
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/plugins/shortcode/
@@ -52,9 +52,9 @@ def handler(self, uri, alt=None, align=None, target=None, site=None, data=None,
output += '></a>'

if data and align:
output = '<div class="figure align-{0}">{1}{2}</div>'.format(align, output, data)
output = '<div class="figure align-{2}">{0}{1}</div>'.format(output, data, align)
elif data:
output = '<div class="figure">{1}{2}</div>'.format(align, output, data)
output = '<div class="figure">{0}{1}</div>'.format(output, data)

return output, []

0 comments on commit 0a649f4

Please sign in to comment.
You can’t perform that action at this time.