aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2013-11-24 06:52:21 +0100
committerPhilipp Hagemeister <[email protected]>2013-11-24 06:52:21 +0100
commit2e767313e49b43400b3baae247e0f4c9e9e24992 (patch)
tree20bc72f74722a5898b0bc4e839d71b840b66f668
parent38b2db6a666e094896927217aa293750a732e81d (diff)
downloadyoutube-dl-2e767313e49b43400b3baae247e0f4c9e9e24992.tar.gz
youtube-dl-2e767313e49b43400b3baae247e0f4c9e9e24992.zip
[update] fix error
-rw-r--r--youtube_dl/update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/update.py b/youtube_dl/update.py
index be7800e8b..cd9670166 100644
--- a/youtube_dl/update.py
+++ b/youtube_dl/update.py
@@ -86,7 +86,7 @@ def update_self(to_screen, verbose):
def version_tuple(version_str):
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__)
return