diff options
author | NoDRM <[email protected]> | 2021-12-29 11:36:59 +0100 |
---|---|---|
committer | NoDRM <[email protected]> | 2021-12-29 11:39:48 +0100 |
commit | b11aadcca6e80621c421a644ec1cd305c2b0a479 (patch) | |
tree | 3b1c0b15e9c71d52d2fc9b67d3a167c3503871e5 /Other_Tools | |
parent | dbf4b5402614d2f714559f91e7b7d414efa892a5 (diff) |
Bugfixes in standalone code for Calibre < 5 / Python 2
Diffstat (limited to 'Other_Tools')
-rw-r--r-- | Other_Tools/Kobo/obok.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Other_Tools/Kobo/obok.py b/Other_Tools/Kobo/obok.py index 6f87114..ae08800 100644 --- a/Other_Tools/Kobo/obok.py +++ b/Other_Tools/Kobo/obok.py @@ -739,7 +739,7 @@ def cli_main(): books = [lib.books[num - 1]] except (ValueError, IndexError): print("Invalid choice. Exiting...") - exit() + sys.exit() results = [decrypt_book(book, lib) for book in books] lib.close() |