From 3c94c9843b1037cf50cb592ced287cbf2d5ba2fa Mon Sep 17 00:00:00 2001 From: Gabriel Levcovitz Date: Mon, 4 Mar 2024 18:18:19 -0300 Subject: [PATCH] fix lint --- hathor/cli/reset_feature_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hathor/cli/reset_feature_settings.py b/hathor/cli/reset_feature_settings.py index abb751f48..a4c8ea9e0 100644 --- a/hathor/cli/reset_feature_settings.py +++ b/hathor/cli/reset_feature_settings.py @@ -29,14 +29,14 @@ def create_parser() -> ArgumentParser: def execute(args: Namespace) -> None: - from hathor.conf.get_settings import get_settings + from hathor.conf.get_settings import get_global_settings from hathor.feature_activation.storage.feature_activation_storage import FeatureActivationStorage from hathor.storage import RocksDBStorage assert args.data is not None, '--data is required' rocksdb_storage = RocksDBStorage(path=args.data) - feature_storage = FeatureActivationStorage(settings=get_settings(), rocksdb_storage=rocksdb_storage) + feature_storage = FeatureActivationStorage(settings=get_global_settings(), rocksdb_storage=rocksdb_storage) logger.info('removing feature activation settings...') feature_storage.reset_settings()