diff options
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 |
