From 3dbe18ced9af942826be69ef9513aff6fa1982d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20D=C3=B6hne?= Date: Thu, 30 Nov 2023 20:11:19 +0100 Subject: [PATCH] comment --- stellarisdashboard/game_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stellarisdashboard/game_info.py b/stellarisdashboard/game_info.py index 23cfa4d..f397bcd 100644 --- a/stellarisdashboard/game_info.py +++ b/stellarisdashboard/game_info.py @@ -37,7 +37,7 @@ def load_name_mapping(self): value = re_match.group("value") if key.startswith("adj_NN"): key = key.removeprefix("adj_NN") - value = value.split("|")[0] # ignore gender :shrug: + value = value.split("|")[0] key = key.lstrip("*") self.adjective_templates[key] = value else: