aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar shdown <shdownnine@gmail.com>2014-09-23 18:24:13 +0400
committerGravatar wm4 <wm4@nowhere>2014-09-24 02:12:30 +0200
commit546c0f0b2539a9ae49e2c98d5e3be27386d4dfbe (patch)
treebd9aaa07f801f5b06d368b827ad1978de579fc6d
parentc6d0e413350d51611e0a032fd9a3f9f41afbec41 (diff)
TOOLS/umpv: use python octal notation
-rwxr-xr-xTOOLS/umpv2
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/umpv b/TOOLS/umpv
index c90ecd8c1a..7eb2645bf5 100755
--- a/TOOLS/umpv
+++ b/TOOLS/umpv
@@ -109,7 +109,7 @@ else:
pass
else:
raise e
- os.mkfifo(FIFO, int("0600", 8))
+ os.mkfifo(FIFO, 0o600)
opts = (os.getenv("MPV") or "mpv").split()
opts.extend(["--no-terminal", "--force-window", "--input-file=" + FIFO,