Avoid throwing error if nordnet_api_client is not present
This commit is contained in:
parent
de619e2548
commit
3eead4bd35
|
@ -55,12 +55,20 @@ __all__ = [
|
|||
'static',
|
||||
]
|
||||
|
||||
import logging
|
||||
|
||||
from . import (
|
||||
data,
|
||||
defi_kraken,
|
||||
defi_kucoin,
|
||||
defi_partisia_blockchain,
|
||||
investbank_nordnet,
|
||||
static,
|
||||
)
|
||||
from ._version import __version__
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
try:
|
||||
from . import investbank_nordnet
|
||||
except ImportError:
|
||||
logger.exception('Could not import %s. Are module requirements installed?', 'fin_depo.investbank_nordnet')
|
||||
|
|
Loading…
Reference in New Issue
Block a user