[update] fix error
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 24 Nov 2013 05:52:21 +0000 (06:52 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 24 Nov 2013 05:52:21 +0000 (06:52 +0100)
youtube_dl/update.py

index be7800e8b1a4a149ce63c75e804e8a1d21abbec6..cd9670166e582ae9f3074c2371026f0f06c252a1 100644 (file)
@@ -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