summaryrefslogtreecommitdiffstats
path: root/python/knot_resolver/client/commands/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/knot_resolver/client/commands/config.py')
-rw-r--r--python/knot_resolver/client/commands/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/knot_resolver/client/commands/config.py b/python/knot_resolver/client/commands/config.py
index 69f7edfa..d13d24d9 100644
--- a/python/knot_resolver/client/commands/config.py
+++ b/python/knot_resolver/client/commands/config.py
@@ -148,6 +148,7 @@ class ConfigCommand(Command):
prefix += f"/{node}"
is_list = True
continue
+ del words[COMP_NOSPACE]
break
if is_list and node.isnumeric():
prefix += f"/{node}"