mirror of
https://github.com/Leseratte10/acsm-calibre-plugin
synced 2026-09-10 03:02:00 -04:00
More PDF oddities, see #89
This commit is contained in:
@@ -202,7 +202,7 @@ def patch_drm_into_pdf(filename_in, adept_license_string, filename_out, ebx_book
|
||||
line_split = encrypt.split(' ')
|
||||
next = 0
|
||||
for element in line_split:
|
||||
if element == "R/Encrypt" or element == "/Encrypt":
|
||||
if element == "R/Encrypt" or element == "/Encrypt" or element == "null/Encrypt":
|
||||
next = 2
|
||||
continue
|
||||
if next == 2:
|
||||
|
||||
Reference in New Issue
Block a user