proton: Use log function

This commit is contained in:
Andrew Eikum 2018-02-15 13:06:32 -06:00
parent 711273dd2c
commit ead648522a

2
proton
View file

@ -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"))
stdout.write(path)
else:
stdout.write("Need a verb.")
log("Need a verb.")
sys.exit(1)
sys.exit(0)