summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/oauth.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2024-10-14 03:02:05 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2024-10-14 03:02:05 -0400
commit0db541f524e1774865efebcbe5653e9ad76ea2e8 (patch)
treeb0fc6ce19628931f61c43f2dc9ebfd88a4332388 /gallery_dl/extractor/oauth.py
parent1a457ed68769880ab7760e0746f0cbbd9ca00487 (diff)
New upstream version 1.27.6.upstream/1.27.6
Diffstat (limited to 'gallery_dl/extractor/oauth.py')
-rw-r--r--gallery_dl/extractor/oauth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/oauth.py b/gallery_dl/extractor/oauth.py
index 9d025d5..e7540f8 100644
--- a/gallery_dl/extractor/oauth.py
+++ b/gallery_dl/extractor/oauth.py
@@ -83,7 +83,7 @@ class OAuthBase(Extractor):
browser = None
if browser and browser.open(url):
- name = getattr(browser, "name", "Browser")
+ name = getattr(browser, "name", None) or "Browser"
self.log.info("Opening URL in %s:", name.capitalize())
else:
self.log.info("Please open this URL in your browser:")