summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/imgur.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-04-30 16:45:21 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-04-30 16:45:21 -0400
commit33d4eae5a6df8aaf6757f52ae25f514ff1211c62 (patch)
tree7ad425b022dcc1daea1c84c720a266f0134db705 /gallery_dl/extractor/imgur.py
parentf98ab7aaca3c4acbd5a793267791749740330e9c (diff)
New upstream version 1.25.3.upstream/1.25.3
Diffstat (limited to 'gallery_dl/extractor/imgur.py')
-rw-r--r--gallery_dl/extractor/imgur.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gallery_dl/extractor/imgur.py b/gallery_dl/extractor/imgur.py
index 42d0a7b..f8f1600 100644
--- a/gallery_dl/extractor/imgur.py
+++ b/gallery_dl/extractor/imgur.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Copyright 2015-2022 Mike Fährmann
+# Copyright 2015-2023 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -347,8 +347,8 @@ class ImgurAPI():
def __init__(self, extractor):
self.extractor = extractor
self.headers = {
- "Authorization": "Client-ID " + extractor.config(
- "client-id", "546c25a59c58ad7"),
+ "Authorization": "Client-ID " + (
+ extractor.config("client-id") or "546c25a59c58ad7"),
}
def account_favorites(self, account):