From be0edc1be87fb90d79ed27f189f384c81b004e43 Mon Sep 17 00:00:00 2001 From: "Egli Adrian (IT-SCI-API-PFI)" <adrian.egli@sbb.ch> Date: Tue, 1 Oct 2019 18:41:43 +0200 Subject: [PATCH] .. --- flatland/utils/graphics_pil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatland/utils/graphics_pil.py b/flatland/utils/graphics_pil.py index 971e1927..462b3716 100644 --- a/flatland/utils/graphics_pil.py +++ b/flatland/utils/graphics_pil.py @@ -640,7 +640,7 @@ class PILSVG(PILGL): in_direction = out_direction pil_zug = self.pil_zug[(in_direction % 4, out_direction % 4, color_idx)] self.draw_image_row_col(pil_zug, (row, col), layer=PILGL.AGENT_LAYER) - if rail_grid is not None: + if rail_grid is not None: if rail_grid[row,col] == 0.0: self.draw_image_row_col(self.scenery_background_white, (row, col), layer=PILGL.RAIL_LAYER) -- GitLab