diff options
| author | 2019-09-08 19:44:00 -0400 | |
|---|---|---|
| committer | 2019-09-08 19:44:00 -0400 | |
| commit | c09a9f00dd83017d486cd77650347bc2a397ad55 (patch) | |
| tree | b4609415ab7fcb51b1acf74344ed3a414dc0e322 /gallery_dl/job.py | |
| parent | 01b2d06c57d52b2c6f241b1beb0e377ee3a8b2a6 (diff) | |
New upstream version 1.10.4upstream/1.10.4
Diffstat (limited to 'gallery_dl/job.py')
| -rw-r--r-- | gallery_dl/job.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/job.py b/gallery_dl/job.py index 6d81e66..b6b5a6f 100644 --- a/gallery_dl/job.py +++ b/gallery_dl/job.py @@ -297,7 +297,7 @@ class DownloadJob(Job): instance = None self.log.error("'%s:' URLs are not supported/enabled", scheme) - if klass.scheme == "http": + if klass and klass.scheme == "http": self.downloaders["http"] = self.downloaders["https"] = instance else: self.downloaders[scheme] = instance |
