Lock sangaboard while reading position

This commit is contained in:
Joel Collins 2020-06-15 16:18:58 +01:00
parent 5916daebfb
commit 160cd82889

View file

@ -51,6 +51,7 @@ class SangaStage(BaseStage):
@property @property
def position(self): def position(self):
with self.lock:
return self.board.position return self.board.position
@property @property