Author: remi
Date: 2008-12-13 18:04:27 +0100 (Sat, 13 Dec 2008)
New Revision: 3087
Modified:
software_suite_v2/software/scripts/loto/loto.py
Log:
* fixed bugs of concatenation
Modified: software_suite_v2/software/scripts/loto/loto.py
===================================================================
--- software_suite_v2/software/scripts/loto/loto.py 2008-12-13 16:13:03 UTC
(rev 3086)
+++ software_suite_v2/software/scripts/loto/loto.py 2008-12-13 17:04:27 UTC
(rev 3087)
@@ -36,14 +36,14 @@
def ReadNumber(*args):
global THEnumber
- my_text = "Le num�ro [" + THEnumber + "]."
+ my_text = "Le num�ro [%d]." % THEnumber
t = threading.Thread(target = tux_speak, args = [my_text,])
t.start()
def NewNumber(*args):
global THEnumber
THEnumber = random.randint(1, 50)
- my_text = "Hop Hop ! Un nouveau num�ro. Le [" + THEnumber + "]."
+ my_text = "Hop Hop ! Un nouveau num�ro. Le [%d]." % THEnumber
t = threading.Thread(target = tux_speak, args = [my_text,])
t.start()
------------------------------------------------------------------------------
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