Commit d8107fb5 authored by bodybybuddha's avatar bodybybuddha

Addressed Codacy trailing space items ... again

parent 46b2c991
...@@ -142,16 +142,16 @@ def chk_send_to_kindle(book_id): ...@@ -142,16 +142,16 @@ def chk_send_to_kindle(book_id):
formatcount = 0 formatcount = 0
for bookformat in bookformats: for bookformat in bookformats:
if bookformat.lower() in web.EXTENSIONS_CONVERT: if bookformat.lower() in web.EXTENSIONS_CONVERT:
formatcount += 1 formatcount += 1
if formatcount > 0: if formatcount > 0:
return True return True
else: else:
return False return False
else: else:
return False return False
return False return False
else: else:
app.logger.error(u'Cannot find book entry %d', book_id) app.logger.error(u'Cannot find book entry %d', book_id)
return False return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment