mirror of https://github.com/mpv-player/mpv
TOOLS/umpv: make it work with Python 3
Apparently they removed octal literals, and made them invalid syntax.
This commit is contained in:
parent
48587e88e0
commit
6c87b50727
|
@ -87,7 +87,7 @@ else:
|
|||
pass
|
||||
else:
|
||||
raise e
|
||||
os.mkfifo(FIFO, 0600)
|
||||
os.mkfifo(FIFO, int("0600", 8))
|
||||
|
||||
subprocess.check_call(["mpv", "--really-quiet", "--force-window",
|
||||
"--input-file=" + FIFO, "--"] + files)
|
||||
|
|
Loading…
Reference in New Issue