From: <jli...@us...> - 2009-02-25 17:57:26
|
Revision: 293 http://pytrainer.svn.sourceforge.net/pytrainer/?rev=293&view=rev Author: jliljenfeldt Date: 2009-02-25 17:57:21 +0000 (Wed, 25 Feb 2009) Log Message: ----------- Fixed bug where track record was supposed to be updated in database. Type cast was missing. Modified Paths: -------------- pytrainer/trunk/pytrainer/record.py Modified: pytrainer/trunk/pytrainer/record.py =================================================================== --- pytrainer/trunk/pytrainer/record.py 2008-10-21 17:31:53 UTC (rev 292) +++ pytrainer/trunk/pytrainer/record.py 2009-02-25 17:57:21 UTC (rev 293) @@ -215,7 +215,7 @@ logging.debug('removing gpxfile') # ein? logging.debug('updating bbdd') #ein? cells,values = self._formatRecord(list_options) - self.ddbb.update("records",cells,values," id_record=%d" %id_record) + self.ddbb.update("records",cells,values," id_record=%d" %int(id_record)) self.parent.refreshListView() logging.debug('<<') @@ -518,4 +518,4 @@ logging.debug('Tracks summary: '+str(resultList)) logging.debug('<<') return resultList - \ No newline at end of file + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |