diff options
| author | 2023-04-30 16:45:27 -0400 | |
|---|---|---|
| committer | 2023-04-30 16:45:27 -0400 | |
| commit | a3c3a8e7b07af486256f2542527adcb8a061e68c (patch) | |
| tree | 7a59346e5f8ec51ecad5bb97775028899301ba38 /gallery_dl/extractor/imgur.py | |
| parent | 0e0ce75a1b0bfacaf5c3fae518b4640b73c4a340 (diff) | |
| parent | 33d4eae5a6df8aaf6757f52ae25f514ff1211c62 (diff) | |
Update upstream source from tag 'upstream/1.25.3'
Update to upstream version '1.25.3'
with Debian dir aad7ec0dd03386cea26bd84d04c62b87315ed4cc
Diffstat (limited to 'gallery_dl/extractor/imgur.py')
| -rw-r--r-- | gallery_dl/extractor/imgur.py | 6 |
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): |
