diff options
author | sepro <sepro@sepr0.com> | 2024-12-02 16:29:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-02 16:29:30 +0100 |
commit | d8fb3490863653182864d2a53522f350d67a9ff8 (patch) | |
tree | fa12606719269bddb36b5cc46995dda1a1a3bbc4 /yt_dlp/extractor/common.py | |
parent | 2bea7936323ca4b6f3b9b1fdd892566223e30efa (diff) |
[cleanup] Bump ruff to 0.8.x (#11608)
Authored by: seproDev
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index ce79e0b62..92ddad2b7 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -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): |