mirror of
https://github.com/janeczku/calibre-web
synced 2024-10-31 15:20:28 +00:00
Addressed Codacy trailing space items ... again
This commit is contained in:
parent
46b2c9919a
commit
d8107fb50f
@ -142,16 +142,16 @@ def chk_send_to_kindle(book_id):
|
||||
formatcount = 0
|
||||
for bookformat in bookformats:
|
||||
if bookformat.lower() in web.EXTENSIONS_CONVERT:
|
||||
formatcount += 1
|
||||
formatcount += 1
|
||||
|
||||
if formatcount > 0:
|
||||
if formatcount > 0:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
else:
|
||||
return False
|
||||
|
||||
return False
|
||||
return False
|
||||
else:
|
||||
app.logger.error(u'Cannot find book entry %d', book_id)
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user