From f3eb5b143c2157c5eaf2a6cabc39a57d087160df Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 29 Apr 2014 01:21:21 +0200 Subject: TOOLS/umpv: make it work with Python 3 Apparently they removed octal literals, and made them invalid syntax. --- TOOLS/umpv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3