diff options
author | NoDRM <[email protected]> | 2021-11-15 13:59:20 +0100 |
---|---|---|
committer | NoDRM <[email protected]> | 2021-11-15 13:59:20 +0100 |
commit | 8cd3523a1767ec6a4072270afb514c55b7163d04 (patch) | |
tree | 3577a0caf4666fbf16dec7dbc05d552d98d7bb26 /DeDRM_plugin/kfxdedrm.py | |
parent | cc17d9cc59b5ea339db2b31998b9da87804f0453 (diff) |
Remove library book block
Diffstat (limited to 'DeDRM_plugin/kfxdedrm.py')
-rw-r--r-- | DeDRM_plugin/kfxdedrm.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/DeDRM_plugin/kfxdedrm.py b/DeDRM_plugin/kfxdedrm.py index 67b10f8..23e46dc 100644 --- a/DeDRM_plugin/kfxdedrm.py +++ b/DeDRM_plugin/kfxdedrm.py @@ -92,8 +92,10 @@ class KFXZipBook: license_type = voucher.getlicensetype() if license_type != "Purchase": - raise Exception(("This book is licensed as {0}. " - 'These tools are intended for use on purchased books.').format(license_type)) + #raise Exception(("This book is licensed as {0}. " + # 'These tools are intended for use on purchased books.').format(license_type)) + print("Warning: This book is licensed as {0}. " + "These tools are intended for use on purchased books. Continuing ...".format(license_type)) self.voucher = voucher |