mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2026-03-20 04:58:56 +00:00
Remove library book block
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user