Skip to content

Commit

Permalink
Avoid extra space when there is not user_review
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanjo Conti committed Sep 2, 2015
1 parent 3d611ec commit f5756c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v7/import_goodreads/import_goodreads.py
Expand Up @@ -109,7 +109,7 @@ def import_item(self, item):
if item.get('user_review'):
content = item.get('user_review')

content += "<br/><br/>Raiting: %s/5" % item.user_rating
content += ("<br/><br/>" if content else "") + "Raiting: %s/5" % item.user_rating

content += "<br/><br/>Original: <a href=\"%s\">%s</a>" % (link, link)

Expand Down

0 comments on commit f5756c1

Please sign in to comment.