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")) 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)