diff options
| author | 2025-03-01 19:51:45 -0500 | |
|---|---|---|
| committer | 2025-03-01 19:51:45 -0500 | |
| commit | bc1c79d35e0a75bc8da8f6f010df779c4acca201 (patch) | |
| tree | 9d8808a5aec770221eb667160a3fbda61f9d5d49 /gallery_dl/extractor/oauth.py | |
| parent | 75e3edb22dad2fc506494bb90ee6b331f5169adf (diff) | |
| parent | 889c7b8caec8fc0b9c7a583ed1d9cfa43518fc42 (diff) | |
Update upstream source from tag 'upstream/1.29.0'
Update to upstream version '1.29.0'
with Debian dir 7b309aa6ccc040a2faaf51d37a63f5233590a8d7
Diffstat (limited to 'gallery_dl/extractor/oauth.py')
| -rw-r--r-- | gallery_dl/extractor/oauth.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gallery_dl/extractor/oauth.py b/gallery_dl/extractor/oauth.py index e7540f8..815a214 100644 --- a/gallery_dl/extractor/oauth.py +++ b/gallery_dl/extractor/oauth.py @@ -83,8 +83,9 @@ class OAuthBase(Extractor): browser = None if browser and browser.open(url): - name = getattr(browser, "name", None) or "Browser" - self.log.info("Opening URL in %s:", name.capitalize()) + name = getattr(browser, "name", None) + if name: + self.log.info("Opening URL with %s:", name.capitalize()) else: self.log.info("Please open this URL in your browser:") |
