diff --git a/flatland/utils/graphics_pil.py b/flatland/utils/graphics_pil.py index 31fa07f0f69ba50695b83c9ded9e6d227a227240..4019bb6d913a3bab1b57a9346c1196d634d18c1c 100644 --- a/flatland/utils/graphics_pil.py +++ b/flatland/utils/graphics_pil.py @@ -434,7 +434,7 @@ class PILSVG(PILGL): pilTrack = self.dScenery[0] else: pilTrack = self.dBuildings[a] - elif (self.background_grid[col][row] > 5) or ((col**3 + row**2 + col * row) % 10 == 0): + elif (self.background_grid[col][row] > 5) or ((col ** 3 + row ** 2 + col * row) % 10 == 0): a = int(self.background_grid[col][row]) - 5 a = a % len(self.dScenery) if (col + row + col * row) % 10 > 2: