diff options
author | wm4 <wm4@nowhere> | 2014-09-24 21:29:30 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-24 21:29:30 +0200 |
commit | 1d45a3a16313bf83581bd396eb758245d20bad5c (patch) | |
tree | c68f5670e0f1a038df431a40d99b27db6692ab5a /TOOLS/umpv | |
parent | 546c0f0b2539a9ae49e2c98d5e3be27386d4dfbe (diff) |
TOOLS/umpv: drop unnecessary check
This was supposed to make sure that argv[1:] does not fail, but Python
actually allows mismatching bounds for slicing.
Diffstat (limited to 'TOOLS/umpv')
-rwxr-xr-x | TOOLS/umpv | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/TOOLS/umpv b/TOOLS/umpv index 7eb2645bf5..47f8c3c242 100755 --- a/TOOLS/umpv +++ b/TOOLS/umpv @@ -46,8 +46,6 @@ import fcntl import stat import string -if len(sys.argv) < 1: - sys.exit(1) files = sys.argv[1:] # this is the same method mpv uses to decide this |