mirror of
https://github.com/Leseratte10/acsm-calibre-plugin.git
synced 2024-12-22 09:19:55 +06:00
More PDF oddities, see #89
This commit is contained in:
parent
f2e9e69df3
commit
963d42f785
@ -202,7 +202,7 @@ def patch_drm_into_pdf(filename_in, adept_license_string, filename_out, ebx_book
|
|||||||
line_split = encrypt.split(' ')
|
line_split = encrypt.split(' ')
|
||||||
next = 0
|
next = 0
|
||||||
for element in line_split:
|
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
|
next = 2
|
||||||
continue
|
continue
|
||||||
if next == 2:
|
if next == 2:
|
||||||
|
Loading…
Reference in New Issue
Block a user