mirror of
https://github.com/Leseratte10/acsm-calibre-plugin
synced 2024-11-15 19:48:29 +01:00
More PDF oddities, see #89
This commit is contained in:
parent
f2e9e69df3
commit
963d42f785
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue