Changeset bdd8b77 for modules/mod_loadTracklogs.py
- Timestamp:
- 07/19/10 12:13:20 (3 years ago)
- Branches:
- master
- Children:
- d707c31
- Parents:
- 0f17f26
- git-author:
- xkolman2 <xkolman2@…> (07/19/10 12:13:20)
- git-committer:
- xkolman2 <xkolman2@…> (07/19/10 12:13:20)
- File:
-
- 1 edited
-
modules/mod_loadTracklogs.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modules/mod_loadTracklogs.py
recf53e5 rbdd8b77 130 130 # return tracklog 131 131 132 def getIndexForPath(self,path): 133 """get index for the tracklog with corresponding path 134 from the main tracklog lists""" 135 136 return self.tracklogPathList.index(path) 137 138 132 139 def getActiveTracklogPath(self): 133 140 index = int(self.get('activeTracklog', 0)) … … 138 145 catData = self.get('tracklogPathCathegory', {}) 139 146 catData[path] = cathegory 147 # update the persistent list 140 148 self.set('tracklogPathCathegory', catData) 149 150 index = self.getIndexForPath(path) 151 # update the current in memmory list 152 self.tracklogList[index]['cat'] = cathegory 141 153 142 154 def listAvailableTracklogs(self):
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/gps_navigace/chrome/site/nlp-logo.png)