1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

corrected printing of error messages in test.py.in

This commit is contained in:
Stephen Gaito 2020-06-13 19:38:51 +01:00
parent d373e10218
commit f48822d816

View File

@ -13,8 +13,8 @@ class Common(object):
"""
PDF2HTMLEX_PATH = "@PDF2HTMLEX_PATH@" # defined in CMakeLists.txt
if not os.path.isfile(PDF2HTMLEX_PATH) or not os.access(PDF2HTMLEX_PATH, os.X_OK):
print >> sys.stderr, "Cannot locate pdf2htmlEX executable, expected at ", PDF2HTMLEX_PATH,
". Make sure source was built before running this test."
print( sys.stderr, "Cannot locate pdf2htmlEX executable, expected at ", PDF2HTMLEX_PATH,
". Make sure source was built before running this test." )
exit(1)
SRC_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))