From 3bc64feb7ace4c163ec1a86e6d16064fbdd27a4f Mon Sep 17 00:00:00 2001 From: u214892 <u214892@sbb.ch> Date: Fri, 5 Jul 2019 10:14:23 +0200 Subject: [PATCH] bugfix tk stuff --- flatland/utils/rendertools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flatland/utils/rendertools.py b/flatland/utils/rendertools.py index 2a0b1af..01d0c75 100644 --- a/flatland/utils/rendertools.py +++ b/flatland/utils/rendertools.py @@ -676,7 +676,8 @@ class RenderTool(object): if self.agentRenderVariant == AgentRenderVariant.BOX_ONLY: self.gl.setCellOccupied(iAgent, *(agent.position)) - elif self.agentRenderVariant == AgentRenderVariant.ONE_STEP_BEHIND or self.agentRenderVariant == AgentRenderVariant.ONE_STEP_BEHIND_AND_BOX: + elif self.agentRenderVariant == AgentRenderVariant.ONE_STEP_BEHIND or \ + self.agentRenderVariant == AgentRenderVariant.ONE_STEP_BEHIND_AND_BOX: # noqa: E125 if agent.old_position is not None: position = agent.old_position direction = agent.direction -- GitLab