Join the activity before changing to it

This commit is contained in:
Marco Pesenti Gritti
2006-10-10 00:35:37 +02:00
parent b309da53f6
commit 067d60573e
2 changed files with 40 additions and 7 deletions
+2 -1
View File
@@ -3,7 +3,8 @@ from sugar.simulator import Bot
for i in range(0, 10):
bot = Bot()
bot.wait(5)
bot.wait(20)
bot.join_activity('giraffes')
bot.change_activity('giraffes')
bot.start()