From 3d0854ac4c24f3da5a620c1ab359dc8e584f2447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian-Samuel=20Geb=C3=BChr?= Date: Thu, 13 Jul 2023 11:34:42 +0200 Subject: [PATCH] Use correct var --- mastodon_blocklist_deploy/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon_blocklist_deploy/cli.py b/mastodon_blocklist_deploy/cli.py index c0e9053..07ad346 100644 --- a/mastodon_blocklist_deploy/cli.py +++ b/mastodon_blocklist_deploy/cli.py @@ -76,7 +76,7 @@ def merge(input_file, merge_target, format: str = "toml", private: bool = False, continue # Check if there is a domain in the merge target where the input domain is similar try: - merge_target_instance = [merge_target_instance for merge_target_instance in merge_target if input_instance.domain == merge_target_instance.domain][0] + merge_target_instance = [merge_target_instance for merge_target_instance in merge_target_blocklist if input_instance.domain == merge_target_instance.domain][0] if not overwrite: key_input = "" while key_input not in ("i", "O"):