mirror of https://github.com/mpv-player/mpv
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.
This commit is contained in:
parent
546c0f0b25
commit
1d45a3a163
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue