Skip to content

Commit

Permalink
add workaround to whitemech/lydia#106
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofavorito committed Jun 8, 2021
1 parent 5d1f48b commit edb3ba2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/lydia_web_api/core/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def version():
dot_version = "missing"

try:
lydia = run_cli([configuration.LYDIA_BIN_PATH, "--version"])
# workaround due to issue https://github.com/whitemech/lydia/issues/106
lydia = run_cli([configuration.LYDIA_BIN_PATH, "--version", "--inline=tt", "--logic=ldlf"])
(out, err) = lydia.communicate(timeout=0.5)
assert_(lydia.returncode == 0)
lydia_version = out.decode("utf-8").strip()
Expand Down

0 comments on commit edb3ba2

Please sign in to comment.