diff --git a/ingestor.py b/ingestor.py index 3ec3fe6..4a88b24 100644 --- a/ingestor.py +++ b/ingestor.py @@ -167,7 +167,7 @@ def convert_string_float(string: str): def convert_wd_code_name(code: str): '''Convert wind direction code to name''' - if str == "": + if code == "": return "NONE" return wind_direction_code_name[int(code)]