Commit 0c3e10d1 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

ajax: fix Python3 error in check for ltl3ba

* wrap/python/ajax/spotcgi.in: Here.
parent 673eb44d
...@@ -369,7 +369,7 @@ if output_type == 'v3': ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment