- Timestamp:
- 24 Jun 2012, 08:24:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/tools/fix_import_file.py
r8781 r8784 208 208 try: 209 209 value = value.replace("'","") 210 value = value.lower()211 210 except: 212 211 return '' 213 if value in LGAS_dict.keys(): 214 return value 212 lower = value.lower() 213 if lower in LGAS_dict.keys(): 214 return lower 215 215 # If real names are given, let's see if a similar value 216 216 # in LGAS exist. 217 value = LGAS_inverted_stripped.get(strip( value), value)217 value = LGAS_inverted_stripped.get(strip(lower), value) 218 218 return value 219 219
Note: See TracChangeset for help on using the changeset viewer.