Author: simplet
Date: 2008-12-07 19:47:15 +0100 (Sun, 07 Dec 2008)
New Revision: 3034

Modified:
   software_suite_v2/software/scripts/poker_blind/trunk/poker.py
Log:
* it works (thx ks156, I forgot to import threading !)


Modified: software_suite_v2/software/scripts/poker_blind/trunk/poker.py
===================================================================
--- software_suite_v2/software/scripts/poker_blind/trunk/poker.py       
2008-12-05 16:07:59 UTC (rev 3033)
+++ software_suite_v2/software/scripts/poker_blind/trunk/poker.py       
2008-12-07 18:47:15 UTC (rev 3034)
@@ -38,7 +38,9 @@
 import time, sys
 from random import randrange
 
+import threading
 
+
 # each x minutes, blinds rise
 MIN = 10
 
@@ -77,8 +79,8 @@
   
   while i < len(blinds):
       time.sleep(60 * MIN)
+      i = i + 1
       tux_speak("Les blindes passent maintenant à [" + blinds[i] + "].")
-      i = i + 1
 
 tux.access.release() 
 tux.server.disconnect()


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to