From 2e975c8b613fb2a71993ac6058533b8907ce1933 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 25 Jul 2022 10:47:58 -0400 Subject: [PATCH] lint --- lbry/extras/daemon/daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index 412752f3f..5072935b4 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -9,7 +9,7 @@ import inspect import typing import random import tracemalloc -from itertools import chain +import itertools from decimal import Decimal from urllib.parse import urlencode, quote from typing import Callable, Optional, List @@ -1988,7 +1988,7 @@ class Daemon(metaclass=JSONRPCServerType): wallet_changed = False if data is not None: added_accounts, merged_accounts = wallet.merge(self.wallet_manager, password, data) - for new_account in chain(added_accounts, merged_accounts): + for new_account in itertools.chain(added_accounts, merged_accounts): await new_account.maybe_migrate_certificates() if added_accounts and self.ledger.network.is_connected: if blocking: