1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-23 00:54:31 +01:00

[update] fix error

This commit is contained in:
Philipp Hagemeister 2013-11-24 06:52:21 +01:00
parent 38b2db6a66
commit 2e767313e4

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