From 2721b76502d53d6bc02ab119f8c7eb4d9c8bec55 Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Mon, 6 Jun 2022 22:17:52 +0200 Subject: [PATCH] Fix bug preventing gastronomy from being added. --- 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 72880cd..4ec4377 100644 --- a/bots/sledrun_wikitext_to_json.py +++ b/bots/sledrun_wikitext_to_json.py @@ -358,7 +358,7 @@ class SledrunWikiTextToJsonBot( g['note'] = note elif len(remaining) > 0 and remaining != '...': g['name'] = remaining - if len(gastronomy) != 0: + if len(g) != 0: gastronomy.append(g) else: break -- 2.39.5