mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
explitictly split PDF2HTMLEX_PATH in test.py.in to allow for arguments in path
This commit is contained in:
parent
16c88c49c4
commit
7f2bb46407
@ -63,8 +63,12 @@ class Common(object):
|
|||||||
shutil.rmtree(self.TMPDIR, ignore_errors=False, onerror=None)
|
shutil.rmtree(self.TMPDIR, ignore_errors=False, onerror=None)
|
||||||
os.mkdir(self.TMPDIR)
|
os.mkdir(self.TMPDIR)
|
||||||
|
|
||||||
args = [Common.PDF2HTMLEX_PATH,
|
# To allow the user to specify additional command line arguments
|
||||||
'--data-dir', self.DATDIR,
|
# in the path, we split the PATH on whitespace and then append our
|
||||||
|
# arguments.
|
||||||
|
#
|
||||||
|
args = Common.PDF2HTMLEX_PATH.split() +
|
||||||
|
[ '--data-dir', self.DATDIR,
|
||||||
'--dest-dir', self.TMPDIR
|
'--dest-dir', self.TMPDIR
|
||||||
] + args
|
] + args
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user