summaryrefslogtreecommitdiffhomepage
path: root/host/simu/robots/apbirthday/model/bag.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu/robots/apbirthday/model/bag.py')
-rw-r--r--host/simu/robots/apbirthday/model/bag.py1
1 files changed, 1 insertions, 0 deletions
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 ()