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 1 changed file with 2 additions and 2 deletions.
@@ -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.