Changeset 4170

Show
Ignore:
Timestamp:
08/21/08 12:51:51 (3 months ago)
Author:
bobbysmith007
Message:

closes #3588 re #3579 thanks for catching that, this patch fixes a bug where i would occasionaly try to replace on a value I wasnt sure was a string

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • timingandestimationplugin/branches/trac0.10/timingandestimationplugin/ticket_daemon.py

    r4168 r4170  
    7575                return default 
    7676        #some european countries use , as the decimal separator 
    77         convertfloat = lambda x: float(x.replace(',','.')) 
     77        convertfloat = lambda x: float(str(x).replace(',','.')) 
    7878        hours = readTicketValue("hours", convertfloat) 
    7979        totalHours = readTicketValue("totalhours", convertfloat)