summaryrefslogtreecommitdiff
path: root/python/downloadprovider.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/downloadprovider.py')
-rw-r--r--python/downloadprovider.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/downloadprovider.py b/python/downloadprovider.py
index 3104b08d..bcc0bf16 100644
--- a/python/downloadprovider.py
+++ b/python/downloadprovider.py
@@ -284,6 +284,7 @@ class DownloadProvider(metaclass=_DownloadProviderMetaclass):
def _create_instance(self, ctxt):
try:
+ assert self.__class__.instance_class is not None, "instance_class is None"
result = self.__class__.instance_class(self)
if result is None:
return None