mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-22 03:06:59 +03:00
[Minor] Remove Unneeded Keys Calls
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -45,7 +45,7 @@ if __name__ == "__main__": # noqa: C901
|
||||
# Symbolic name from in-game name
|
||||
reverse_ship_map = {v: k for k, v in list(ship_name_map.items())}
|
||||
|
||||
bulkheads = list(outfitting.armour_map.keys())
|
||||
bulkheads = list(outfitting.armour_map)
|
||||
|
||||
ships = {}
|
||||
modules = {}
|
||||
|
||||
+1
-1
@@ -605,7 +605,7 @@ edmc_suit_symbol_localised = {
|
||||
# This is sourced from what the game is passed by the launcher, caveat emptor. It was mentioned that / is also
|
||||
# an option
|
||||
# This is only run once when this file is imported by something, no runtime cost or repeated expansions will occur
|
||||
__keys = list(edmc_suit_symbol_localised.keys())
|
||||
__keys = list(edmc_suit_symbol_localised)
|
||||
for lang in __keys:
|
||||
new_lang = lang.replace('\\', r'\\')
|
||||
new_lang_2 = lang.replace('\\', '/')
|
||||
|
||||
Reference in new issue
Block a user