mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 08:17:13 +03:00
revert previous commit, handle \ in lang names
This commit is contained in:
parent
edbf1263a9
commit
dec2e07ce0
@ -571,6 +571,11 @@ 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.
|
||||
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]
|
||||
|
||||
# Local webserver for debugging. See implementation in debug_webserver.py
|
||||
DEBUG_WEBSERVER_HOST = '127.0.0.1'
|
||||
DEBUG_WEBSERVER_PORT = 9090
|
||||
|
@ -513,7 +513,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
|
||||
elif event_type == 'loadgame':
|
||||
# Odyssey Release Update 5 -- This contains data that doesn't match the format used in FileHeader above
|
||||
# self.populate_version_info(entry, suppress=True)
|
||||
self.populate_version_info(entry, suppress=True)
|
||||
|
||||
# alpha4
|
||||
# Odyssey: bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user