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
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user