summaryrefslogtreecommitdiffstats
path: root/DeDRM_plugin
diff options
context:
space:
mode:
Diffstat (limited to 'DeDRM_plugin')
-rwxr-xr-xDeDRM_plugin/ineptpdf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/DeDRM_plugin/ineptpdf.py b/DeDRM_plugin/ineptpdf.py
index 15ea7fc..100dff7 100755
--- a/DeDRM_plugin/ineptpdf.py
+++ b/DeDRM_plugin/ineptpdf.py
@@ -2042,7 +2042,7 @@ class PDFParser(PSStackParser):
except PDFNoValidXRef:
# fallback
self.seek(0)
- pat = re.compile(rb'^(\\d+)\\s+(\\d+)\\s+obj\\b')
+ pat = re.compile(br'^(\\d+)\\s+(\\d+)\\s+obj\\b')
offsets = {}
xref = PDFXRef()
while 1: