From ca1d6eb1c95ae51d895b19c9786fe45788236810 Mon Sep 17 00:00:00 2001 From: Mohammad Aghamir Date: Mon, 29 Jun 2020 14:23:17 +0430 Subject: [PATCH] Subclass: Get subclass from Inheritor class not location --- blockapi/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blockapi/__init__.py b/blockapi/__init__.py index 6c8bb5d5..b0d9fd64 100644 --- a/blockapi/__init__.py +++ b/blockapi/__init__.py @@ -101,8 +101,8 @@ def get_all_supported_coins(): def get_active_api_classes(): - # inheritors = _inheritors(BlockchainAPI) - inheritors = _get_all_inheritors() + inheritors = _inheritors(BlockchainAPI) + # inheritors = _get_all_inheritors() return [i for i in inheritors if i.active]