ajax: fix Python3 error in check for ltl3ba
* wrap/python/ajax/spotcgi.in: Here.
This commit is contained in:
parent
673eb44d8f
commit
0c3e10d1ec
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ if output_type == 'v3':
|
||||||
# -M[0|1] is new in 1.1.1, and we use it.
|
# -M[0|1] is new in 1.1.1, and we use it.
|
||||||
l3proc = subprocess.Popen(['@LTL3BA@', '-h'], stdout=subprocess.PIPE)
|
l3proc = subprocess.Popen(['@LTL3BA@', '-h'], stdout=subprocess.PIPE)
|
||||||
(out, err) = l3proc.communicate()
|
(out, err) = l3proc.communicate()
|
||||||
if out.find('-M[') < 0:
|
if out.find(b'-M[') < 0:
|
||||||
err = 1
|
err = 1
|
||||||
else:
|
else:
|
||||||
err = 0
|
err = 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue