mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2026-03-20 04:58:56 +00:00
Bugfixes in standalone code for Calibre < 5 / Python 2
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user