- Timestamp:
- Sep 18, 2015, 6:09:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r633 r634 157 157 fname = 'Str_Bool' 158 158 159 if val == 'True' or val == ' 1' or val == 'yes':159 if val == 'True' or val == 'true' or val == '1' or val == 'yes': 160 160 boolv = True 161 elif val == 'False' or val == '0' or val== 'no': 161 boolv = True 162 elif val == 'False' or val == 'false' or val == '0' or val== 'no': 162 163 boolv = False 163 164 else:
Note: See TracChangeset
for help on using the changeset viewer.