Skip to content

Commit 638b31c

Browse files
authored
Codechange: update code to work with latest black (#494)
1 parent c38bd43 commit 638b31c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

bananas_api/new_upload/readers/newgrf.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@
4545
0x97: (0, ""), # DKBLUE
4646
0x98: (0, ""), # BLACK
4747
0x99: (0, ""), # BLUE
48-
0x9E: (0, "\u20AC"), # Euro sign
48+
0x9E: (0, "\u20ac"), # Euro sign
4949
0x9F: (0, "\u0178"), # Y with diaeresis
50-
0xA0: (0, "\u25B2"), # Arrow up
51-
0xAA: (0, "\u25BC"), # Arrow down
50+
0xA0: (0, "\u25b2"), # Arrow up
51+
0xAA: (0, "\u25bc"), # Arrow down
5252
0xAC: (0, "\u2713"), # Checkmark
53-
0xAD: (0, "\u274C"), # Cross
54-
0xAF: (0, "\u25B6"), # Arrow right
53+
0xAD: (0, "\u274c"), # Cross
54+
0xAF: (0, "\u25b6"), # Arrow right
5555
0xB4: (0, ""), # Train
5656
0xB5: (0, ""), # Lorry
5757
0xB6: (0, ""), # Bus
5858
0xB7: (0, ""), # Plane
5959
0xB8: (0, ""), # Ship
60-
0xB9: (0, "\u208B\u2081"), # Superscript m1
60+
0xB9: (0, "\u208b\u2081"), # Superscript m1
6161
0xBC: (0, "\u2191"), # Small arrow up
6262
0xBD: (0, "\u2193"), # Small arrow down
6363
}
@@ -266,7 +266,7 @@ def read(self, fp):
266266

267267
size = reader.uint16()
268268
if size == 0:
269-
if reader.read(8) == b"GRF\x82\r\n\x1A\n":
269+
if reader.read(8) == b"GRF\x82\r\n\x1a\n":
270270
self.container_version = 2
271271
reader.uint32()
272272
if reader.uint8() != 0:

0 commit comments

Comments
 (0)