Changeset 107

Show
Ignore:
Timestamp:
10/02/07 07:19:39 (1 year ago)
Author:
vud1
Message:

"close #23"

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pytrainer/trunk/pytrainer/lib/gpx.py

    r46 r107  
    6565                stylefile = self.data_path+"pytrainer.style" 
    6666                tmpfile = self.conf.getValue("tmpdir")+"/gps.txt" 
    67                 os.system("gpsbabel -t -i gpx -f %s -x position,distance=1m -o xcsv,style=%s -F %s" %(self.filename, stylefile,tmpfile)) 
     67                os.system("gpsbabel -t -i gpx -f '%s' -x position,distance=1m -o xcsv,style=%s -F %s" %(self.filename, stylefile,tmpfile)) 
    6868                return tmpfile 
    6969