From 0ee225763a0a3e36651ee66557d75a2166d9be1e Mon Sep 17 00:00:00 2001 From: Raphael Mitsch Date: Thu, 17 Nov 2022 16:33:03 +0100 Subject: [PATCH] Update spacy/cli/find_threshold.py Co-authored-by: Sofie Van Landeghem --- spacy/cli/find_threshold.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/find_threshold.py b/spacy/cli/find_threshold.py index f75b3aac8..0f3b6989b 100644 --- a/spacy/cli/find_threshold.py +++ b/spacy/cli/find_threshold.py @@ -153,7 +153,7 @@ def find_threshold( wasabi.msg.fail( title=f"Failed to look up `{full_key}` in config: sub-key {[keys[0]]} not found.", text=f"Make sure you specified {[keys[0]]} correctly. The following sub-keys are available instead: " - f"{config.keys()}", + f"{list(config.keys())}", exits=1, ) return {