TOOLS/umpv: make it work with Python 3

Apparently they removed octal literals, and made them invalid syntax.
This commit is contained in:
wm4 2014-04-29 01:21:21 +02:00
parent 48587e88e0
commit 6c87b50727
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ else:
pass pass
else: else:
raise e raise e
os.mkfifo(FIFO, 0600) os.mkfifo(FIFO, int("0600", 8))
subprocess.check_call(["mpv", "--really-quiet", "--force-window", subprocess.check_call(["mpv", "--really-quiet", "--force-window",
"--input-file=" + FIFO, "--"] + files) "--input-file=" + FIFO, "--"] + files)