From d8107fb50ffbecb90b3afa54148fbb43c02c09cc Mon Sep 17 00:00:00 2001 From: bodybybuddha Date: Tue, 2 Oct 2018 10:22:01 -0400 Subject: [PATCH] Addressed Codacy trailing space items ... again --- cps/helper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cps/helper.py b/cps/helper.py index aafb696f..e621679f 100755 --- a/cps/helper.py +++ b/cps/helper.py @@ -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