From b8fd8309f7c0966beac6bb2716afd6a235942e5c Mon Sep 17 00:00:00 2001 From: Lorenzo Di Fuccia Date: Thu, 15 Oct 2020 14:47:46 +0200 Subject: [PATCH] Fix #224 --- safaribooks.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/safaribooks.py b/safaribooks.py index d6f3e67..98ca66d 100755 --- a/safaribooks.py +++ b/safaribooks.py @@ -830,14 +830,9 @@ class SafariBooks: next_chapter not in self.book_chapters[:self.book_chapters.index(next_chapter)]: self.display.info( ("File `%s` already exists.\n" - " If you want to download again all the book%s,\n" + " If you want to download again all the book,\n" " please delete the output directory '" + self.BOOK_PATH + "' and restart the program.") - % - ( - self.filename.replace(".html", ".xhtml"), - " (especially because you selected the `--no-kindle` option)" - if self.args.no_kindle else "" - ) + % self.filename.replace(".html", ".xhtml") ) self.display.book_ad_info = 2