summaryrefslogtreecommitdiff
path: root/python/downloadprovider.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-08-24 16:50:32 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-06 11:46:38 -0400
commit2c9a8e65b4864e465db9a7f7d40cc50a1808a452 (patch)
tree99c66588edb7e15e8b909117ceeecfeb05397cb3 /python/downloadprovider.py
parente0841aa1bf02b5ed90aac8e4f2a0d8d4c58128f3 (diff)
Some normalizing code changes
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