From 1d45a3a16313bf83581bd396eb758245d20bad5c Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 24 Sep 2014 21:29:30 +0200 Subject: 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. --- TOOLS/umpv | 2 -- 1 file changed, 2 deletions(-) (limited to 'TOOLS/umpv') 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 -- cgit v1.2.3