1
0
Fork 0

[cleanup] Bump ruff to 0.8.x (#11608)

Authored by: seproDev
This commit is contained in:
sepro 2024-12-02 16:29:30 +01:00 committed by GitHub
commit d8fb349086
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 42 additions and 46 deletions

View file

@ -3803,7 +3803,7 @@ class InfoExtractor:
def mark_watched(self, *args, **kwargs):
if not self.get_param('mark_watched', False):
return
if self.supports_login() and self._get_login_info()[0] is not None or self._cookies_passed:
if (self.supports_login() and self._get_login_info()[0] is not None) or self._cookies_passed:
self._mark_watched(*args, **kwargs)
def _mark_watched(self, *args, **kwargs):