Skip to content

Commit

Permalink
Make Codacy happier
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Sep 19, 2017
1 parent 1fd1d3e commit 0a649f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/plugins/shortcode/thumbnail.py
Expand Up @@ -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.