Author: remi
Date: 2008-11-30 16:27:18 +0100 (Sun, 30 Nov 2008)
New Revision: 2940

Modified:
   
software_suite_v2/software/http_server_resources/idle_behavior/trunk/ResourceTuxIdle.py
Log:
* fixed little encoding bug

Modified: 
software_suite_v2/software/http_server_resources/idle_behavior/trunk/ResourceTuxIdle.py
===================================================================
--- 
software_suite_v2/software/http_server_resources/idle_behavior/trunk/ResourceTuxIdle.py
     2008-11-30 15:00:55 UTC (rev 2939)
+++ 
software_suite_v2/software/http_server_resources/idle_behavior/trunk/ResourceTuxIdle.py
     2008-11-30 15:27:18 UTC (rev 2940)
@@ -84,7 +84,7 @@
         while self.__getStarted():
             if (time.time() - self.__getIdleTimeBegin()) >= self.__idleDelay:
                 idx = random.randint(0, len(self.__att_list) - 1)
-                Glb_tuxApi.attitune.load(self.__att_list[idx])
+                Glb_tuxApi.attitune.load(str(self.__att_list[idx]))
                 Glb_tuxApi.attitune.play()
                 self.__resetIdleTimeBegin()
             time.sleep(10.)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to