mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-04-18 15:22:37 +03:00
proton: Use log function
This commit is contained in:
parent
711273dd2c
commit
ead648522a
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…
x
Reference in New Issue
Block a user