From 8f122295fbc9317b572f96b446a7f94529ee7c8e Mon Sep 17 00:00:00 2001
From: hagrid67 <jdhwatson@gmail.com>
Date: Wed, 1 May 2019 20:21:27 +0100
Subject: [PATCH] fixed lint

---
 flatland/utils/editor.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/flatland/utils/editor.py b/flatland/utils/editor.py
index 5f6625aa..b7b09b77 100644
--- a/flatland/utils/editor.py
+++ b/flatland/utils/editor.py
@@ -167,7 +167,7 @@ class JupEditor(object):
                 # get the direction index for the 2 transitions
                 liTrans = []
                 for rcTrans in rc2Trans:
-                    # gRCTrans - rcTrans gives an array of vector differences between our rcTrans 
+                    # gRCTrans - rcTrans gives an array of vector differences between our rcTrans
                     # and the 4 directions stored in gRCTrans.
                     # Where the vector difference is zero, we have a match...
                     # np.all detects where the whole row,col vector is zero.
@@ -177,10 +177,10 @@ class JupEditor(object):
                         iTrans = iTrans[0][0]
                         liTrans.append(iTrans)
 
-                # check that we have two transitions 
+                # check that we have two transitions
                 if len(liTrans) == 2:
                     # Set the transition
-                    env.rail.set_transition((*rcMiddle, liTrans[0]), liTrans[1], True)
+                    env.rail.set_transition((*rcMiddle, liTrans[0]), liTrans[1], bTransition)
                     # iValCell = env.rail.transitions.set_transition(
                     #    env.rail.grid[tuple(rcMiddle)], liTrans[0], liTrans[1], bTransition)
 
-- 
GitLab