From ac36d70fb2aca75a6bb201351346cb6e97715d39 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 26 Apr 2013 23:54:40 +0200 Subject: digital/ai/tools: remove start position plate --- host/simu/robots/apbirthday/model/bag.py | 1 + 1 file changed, 1 insertion(+) (limited to 'host/simu/robots/apbirthday/model') diff --git a/host/simu/robots/apbirthday/model/bag.py b/host/simu/robots/apbirthday/model/bag.py index c7330598..9e6793ff 100644 --- a/host/simu/robots/apbirthday/model/bag.py +++ b/host/simu/robots/apbirthday/model/bag.py @@ -36,6 +36,7 @@ import random class Bag: def __init__ (self, scheduler, table, link_bag): + self.table = table self.color_switch = Switch (link_bag.ihm_color, invert = True) self.color_switch.state = random.choice ((False, True)) self.color_switch.notify () -- cgit v1.2.3