This commit is contained in:
thehunmonkgroup 2020-09-26 21:29:22 +00:00 committed by GitHub
commit 8d9db07777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
self._TFA_URL.format(tl), tfa_req,
'Submitting TFA code', 'Unable to submit TFA code')
if tfa_results is False:
if not tfa_results:
return False
tfa_res = try_get(tfa_results, lambda x: x[0][5], list)