After running 2to3

This commit is contained in:
Grant Sanderson
2018-08-09 17:56:05 -07:00
parent 06a65190e7
commit 858051a806
172 changed files with 2117 additions and 2221 deletions

View File

@ -200,7 +200,7 @@ COLOR_MAP = {
"GREEN_SCREEN": "#00FF00",
"ORANGE": "#FF862F",
}
PALETTE = COLOR_MAP.values()
PALETTE = list(COLOR_MAP.values())
locals().update(COLOR_MAP)
for name in filter(lambda s: s.endswith("_C"), COLOR_MAP.keys()):
for name in [s for s in list(COLOR_MAP.keys()) if s.endswith("_C")]:
locals()[name.replace("_C", "")] = locals()[name]