proton: Use log function
This commit is contained in:
parent
711273dd2c
commit
ead648522a
1 changed files with 1 additions and 1 deletions
2
proton
2
proton
|
@ -295,7 +295,7 @@ elif sys.argv[1] == "translatepath":
|
||||||
path = subprocess.check_output([wine_path, "winepath", "-w", sys.argv[2]], env=env, stderr=open("/dev/null", "w"))
|
path = subprocess.check_output([wine_path, "winepath", "-w", sys.argv[2]], env=env, stderr=open("/dev/null", "w"))
|
||||||
stdout.write(path)
|
stdout.write(path)
|
||||||
else:
|
else:
|
||||||
stdout.write("Need a verb.")
|
log("Need a verb.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
Loading…
Reference in a new issue