From 3bde283048273fcbf3f689e44541e47d3e7fbb60 Mon Sep 17 00:00:00 2001 From: A_D Date: Sat, 3 Jul 2021 17:29:10 +0200 Subject: [PATCH] make comments congruent with convention from contributing commandment --- edmc_data.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/edmc_data.py b/edmc_data.py index 8098bd7e..3ba08ddc 100644 --- a/edmc_data.py +++ b/edmc_data.py @@ -571,8 +571,9 @@ edmc_suit_symbol_localised = { }, } -# 4.0.0.600 Update 5 introduced duplicates of `fileheader` keys into `LoadGame`, -# but the GameLanguage in the latter has doubled up the `\`, so cater for either. +# WORKAROUND 2021-07-03 | 4.0.0.600 Update 5: duplicates of `fileheader` keys in `LoadGame`, +# but the GameLanguage in the latter has doubled up the `\`, so cater for either here. +# This is only run once when this file is imported by something, no runtime cost or repeated expansions will occur for lang, new_lang in map(lambda k: (k, k.replace('\\', r'\\')), list(edmc_suit_symbol_localised.keys())): edmc_suit_symbol_localised[new_lang] = edmc_suit_symbol_localised[lang]