summaryrefslogtreecommitdiffstats
path: root/DeDRM_plugin/kfxdedrm.py
diff options
context:
space:
mode:
authorNoDRM <[email protected]>2021-11-15 13:59:20 +0100
committerNoDRM <[email protected]>2021-11-15 13:59:20 +0100
commit8cd3523a1767ec6a4072270afb514c55b7163d04 (patch)
tree3577a0caf4666fbf16dec7dbc05d552d98d7bb26 /DeDRM_plugin/kfxdedrm.py
parentcc17d9cc59b5ea339db2b31998b9da87804f0453 (diff)
Remove library book block
Diffstat (limited to 'DeDRM_plugin/kfxdedrm.py')
-rw-r--r--DeDRM_plugin/kfxdedrm.py6
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