X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fupdate.py;h=2d2703368d8c2974e665985a10d1b6dcace8b235;hb=c33bcf2051cac1580d5161a188acc3efd54734ea;hp=4c07a558e7ad2f2db422ed2a0124df49efc6b09c;hpb=673cf0e773eb60dd29d1ef1a8cf24bfbdcbb8a5b;p=youtube-dl diff --git a/youtube_dl/update.py b/youtube_dl/update.py index 4c07a558e..2d2703368 100644 --- a/youtube_dl/update.py +++ b/youtube_dl/update.py @@ -79,7 +79,7 @@ def update_self(to_screen, verbose): to_screen(compat_str(traceback.format_exc())) to_screen('ERROR: can\'t obtain versions info. Please try again later.') return - if not 'signature' in versions_info: + if 'signature' not in versions_info: to_screen('ERROR: the versions file is not signed or corrupted. Aborting.') return signature = versions_info['signature']