svg2pdftex.py: make print work with Python 2 and 3

This commit is contained in:
Uwe Stöhr 2017-11-22 23:26:58 +01:00
parent 14df9b74c4
commit 913619c80a

View File

@ -35,7 +35,7 @@ def runCommand(cmd):
'''
res = subprocess.check_call(cmd)
if res != 0:
print "Command '%s' fails (exit code: %i)." % (res.cmd, res.returncode)
print ("Command '%s' fails (exit code: %i)." % (res.cmd, res.returncode))
sys.exit(1)
InkscapeCmd = "inkscape"