parent
0863c3277c
commit
95aeb86328
@ -210,7 +210,7 @@ def _pdfjs_version():
|
||||
else:
|
||||
pdfjs_file = pdfjs_file.decode('utf-8')
|
||||
version_re = re.compile(
|
||||
r"^(PDFJS\.version|var pdfjsVersion) = '([^']+)';$", re.MULTILINE)
|
||||
r"^ *(PDFJS\.version|var pdfjsVersion) = '([^']+)';$", re.MULTILINE)
|
||||
|
||||
match = version_re.search(pdfjs_file)
|
||||
if not match:
|
||||
|
Loading…
Reference in New Issue
Block a user