[update] Look for .exe extension on Windows (Fixes #745)
This commit is contained in:
parent
70922df8b5
commit
46353f6783
2 changed files with 9 additions and 3 deletions
|
@ -658,7 +658,7 @@ def _real_main(argv=None):
|
|||
|
||||
# Update version
|
||||
if opts.update_self:
|
||||
update_self(ydl.to_screen, opts.verbose, sys.argv[0])
|
||||
update_self(ydl.to_screen, opts.verbose)
|
||||
|
||||
# Maybe do nothing
|
||||
if len(all_urls) < 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue