Update some types

This commit is contained in:
Matthias
2022-05-07 11:41:57 +02:00
parent 502404c0cc
commit 3f68c3b68e
2 changed files with 7 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ def check_exchange(config: Dict[str, Any], check_for_bad: bool = True) -> bool:
return True
logger.info("Checking exchange...")
exchange = config.get('exchange', {}).get('name').lower()
exchange = config.get('exchange', {}).get('name', '').lower()
if not exchange:
raise OperationalException(
f'This command requires a configured exchange. You should either use '