From 2c9a8e65b4864e465db9a7f7d40cc50a1808a452 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 24 Aug 2021 16:50:32 -0400 Subject: Some normalizing code changes --- python/downloadprovider.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python/downloadprovider.py') 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 -- cgit v1.3.1