Skip to content

Commit f077edd

Browse files
scripts/test.py: allow url for --mupdf arg.
1 parent add6e09 commit f077edd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def main(argv):
222222
implementations = next(args)
223223
elif arg in ('--mupdf', '-m'):
224224
mupdf = next(args)
225-
if not mupdf.startswith('git:') and mupdf != '-':
225+
if not mupdf.startswith('git:') and '://' not in mupdf and mupdf != '-':
226226
assert os.path.isdir(mupdf), f'Not a directory: {mupdf=}.'
227227
mupdf = os.path.abspath(mupdf)
228228
os.environ['PYMUPDF_SETUP_MUPDF_BUILD'] = mupdf

0 commit comments

Comments
 (0)