- Timestamp:
- Dec 8, 2015, 11:09:07 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r658 r659 157 157 fname = 'Str_Bool' 158 158 159 if val == 'True' or val == 'true' or val == '1' or val == 'yes' :159 if val == 'True' or val == 'true' or val == '1' or val == 'yes' or val == 'T' or val == 't': 160 160 boolv = True 161 161 boolv = True 162 elif val == 'False' or val == 'false' or val == '0' or val== 'no' :162 elif val == 'False' or val == 'false' or val == '0' or val== 'no' or val == 'F' or val == 'f': 163 163 boolv = False 164 164 else:
Note: See TracChangeset
for help on using the changeset viewer.