aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-04-29 01:21:21 +0200
committerGravatar wm4 <wm4@nowhere>2014-04-29 01:21:21 +0200
commit6c87b507277c632452f873514bbd80428553d46e (patch)
tree4eb675c001ed6582c8c484a0f460283a950a7277 /TOOLS
parent48587e88e0e55790d7e0bc6b3e443dfc93a37fa0 (diff)
TOOLS/umpv: make it work with Python 3
Apparently they removed octal literals, and made them invalid syntax.
Diffstat (limited to 'TOOLS')
-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)