# HG changeset patch # User greg # Date 1543330333 18000 # Node ID 57c418290b61b95bf3131a388c272877132c942d # Parent cfe1ce427aa7153b0f18464ad1e1af181ae341a3 Uploaded diff -r cfe1ce427aa7 -r 57c418290b61 validate_temperature_data.py --- a/validate_temperature_data.py Tue Nov 27 09:50:49 2018 -0500 +++ b/validate_temperature_data.py Tue Nov 27 09:52:13 2018 -0500 @@ -84,7 +84,7 @@ accumulated_msgs = add_error_msg(accumulated_msgs, "Line %d contains %s columns, (must be 10)." % (i, len(items))) stop_error(accumulated_msgs) stationid = items[0] - if len(station_id) == 0: + if len(stationid) == 0: accumulated_msgs = empty_value(i, "stationid", accumulated_msgs) latitude = items[1] accumulated_msgs = validate_decimal(i, latitude, accumulated_msgs, "latitude")