Browse Source

[update] fix error

rtmp_test
Philipp Hagemeister 11 years ago
parent
commit
2e767313e4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/update.py

+ 1
- 1
youtube_dl/update.py View File

@ -86,7 +86,7 @@ def update_self(to_screen, verbose):
def version_tuple(version_str): def version_tuple(version_str):
return tuple(map(int, version_str.split('.'))) return tuple(map(int, version_str.split('.')))
if version_tuple(__version__) >= version_tuple(version_str):
if version_tuple(__version__) >= version_tuple(version_id):
to_screen(u'youtube-dl is up to date (%s)' % __version__) to_screen(u'youtube-dl is up to date (%s)' % __version__)
return return


Loading…
Cancel
Save