From 69a5869e822e7f6e98514b37a1335964b1f7810b Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Fri, 18 Mar 2022 17:29:51 +0100 Subject: [PATCH] Fix parsing note for gastronomy. --- bots/sledrun_wikitext_to_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/sledrun_wikitext_to_json.py b/bots/sledrun_wikitext_to_json.py index 2fabd23..930c513 100644 --- a/bots/sledrun_wikitext_to_json.py +++ b/bots/sledrun_wikitext_to_json.py @@ -361,7 +361,7 @@ class SledrunWikiTextToJsonBot( if isinstance(n, (Text, Tag)) and str(n).strip() != '*')).strip() match = re.match(r'(.*)\((.+)\)', remaining) if match: - name, note = match.group(1) + name, note = match.groups() name = name.strip() note = note.strip() if len(name) > 0: -- 2.39.5