dabodemo Commit
Revision 419
Date: 2006-10-15 18:32:07 -0700 (Sun, 15 Oct 2006)
Author: ed

Changed:
U   trunk/games/minesweeper.py

Log:
Fixed the way that the default pref for playername was being handled.

Paul, there is a problem with the process of sending a high game score to the 
server. I got the following printout:

Dabo Error Log: Sun Oct 15 21:24:01 2006: No base key set; preference will not 
be persisted.
Dabo Error Log: Sun Oct 15 21:24:13 2006: Failed to create newval for field 'id'
Dabo Error Log: Sun Oct 15 21:24:13 2006: TYPES: {}
Dabo Error Log: Sun Oct 15 21:24:13 2006: 'id'
Dabo Error Log: Sun Oct 15 21:24:13 2006: Failed to create newval for field 
'gamedefid'
Dabo Error Log: Sun Oct 15 21:24:13 2006: TYPES: {}
Dabo Error Log: Sun Oct 15 21:24:13 2006: 'gamedefid'
Dabo Error Log: Sun Oct 15 21:24:13 2006: Failed to create newval for field 
'timestamp'
Dabo Error Log: Sun Oct 15 21:24:13 2006: TYPES: {}
Dabo Error Log: Sun Oct 15 21:24:13 2006: 'timestamp'
Dabo Error Log: Sun Oct 15 21:24:13 2006: Failed to create newval for field 
'playername'
Dabo Error Log: Sun Oct 15 21:24:13 2006: TYPES: {}
Dabo Error Log: Sun Oct 15 21:24:13 2006: 'playername'
Dabo Error Log: Sun Oct 15 21:24:13 2006: Failed to create newval for field 
'playercomments'
Dabo Error Log: Sun Oct 15 21:24:13 2006: TYPES: {}
Dabo Error Log: Sun Oct 15 21:24:13 2006: 'playercomments'
Dabo Error Log: Sun Oct 15 21:24:13 2006: Failed to create newval for field 
'time'
Dabo Error Log: Sun Oct 15 21:24:13 2006: TYPES: {}
Dabo Error Log: Sun Oct 15 21:24:13 2006: 'time'
Dabo Error Log: Sun Oct 15 21:24:13 2006: Failed to create newval for field 
'gamename'
Dabo Error Log: Sun Oct 15 21:24:13 2006: TYPES: {}
Dabo Error Log: Sun Oct 15 21:24:13 2006: 'gamename'
Dabo Error Log: Sun Oct 15 21:24:13 2006: Failed to create newval for field 
'gamewidth'
Dabo Error Log: Sun Oct 15 21:24:13 2006: TYPES: {}
Dabo Error Log: Sun Oct 15 21:24:13 2006: 'gamewidth'
Dabo Error Log: Sun Oct 15 21:24:13 2006: Failed to create newval for field 
'gameheight'
Dabo Error Log: Sun Oct 15 21:24:13 2006: TYPES: {}
Dabo Error Log: Sun Oct 15 21:24:13 2006: 'gameheight'
Dabo Error Log: Sun Oct 15 21:24:13 2006: Failed to create newval for field 
'gamemines'
Dabo Error Log: Sun Oct 15 21:24:13 2006: TYPES: {}
Dabo Error Log: Sun Oct 15 21:24:13 2006: 'gamemines'
Dabo Error Log: Sun Oct 15 21:24:13 2006: Failed to create newval for field 
'gamecomments'
Dabo Error Log: Sun Oct 15 21:24:13 2006: TYPES: {}
Dabo Error Log: Sun Oct 15 21:24:13 2006: 'gamecomments'



Diff:
Modified: trunk/games/minesweeper.py
===================================================================
--- trunk/games/minesweeper.py  2006-10-15 22:06:19 UTC (rev 418)
+++ trunk/games/minesweeper.py  2006-10-16 01:32:07 UTC (rev 419)
@@ -820,7 +820,7 @@
                                if isinstance(playername, basestring):
                                        self.txtName.Value = playername
                                else:
-                                       self.txtName.Value = playername
+                                       self.txtName.Value = ""
                                        self.PreferenceManager.playername = ""
 
                dlg = dlgScore(self, Caption="Record Score")




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to