summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-29 01:21:21 +0200
committerwm4 <wm4@nowhere>2014-04-30 11:45:32 +0200
commitf3eb5b143c2157c5eaf2a6cabc39a57d087160df (patch)
treeee6019294f68c5400ff62aa7ce269bdacd607692
parent9993fd8888a408be17424bed0908f85522aa9467 (diff)
downloadmpv-f3eb5b143c2157c5eaf2a6cabc39a57d087160df.tar.bz2
mpv-f3eb5b143c2157c5eaf2a6cabc39a57d087160df.tar.xz
TOOLS/umpv: make it work with Python 3
Apparently they removed octal literals, and made them invalid syntax.
-rwxr-xr-xTOOLS/umpv2
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/umpv b/TOOLS/umpv
index d701166f72..300e6334a3 100755
--- a/TOOLS/umpv
+++ b/TOOLS/umpv
@@ -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)