Skip to content

Commit

Permalink
Merge pull request #216 from moldhouse/patch-3
Browse files Browse the repository at this point in the history
Also check obszone in lower case in decode_task_obs_zone
  • Loading branch information
moldhouse committed Feb 15, 2021
2 parents 5903b7f + 1b2c99e commit 2829338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aerofiles/seeyou/reader.py
Expand Up @@ -291,7 +291,7 @@ def decode_task_obs_zone(self, fields):
for field in fields:
field_type, field_entry = field.split("=")

if field_type == 'ObsZone':
if field_type.lower() == 'obszone':
task_obs_zone['obs_zone'] = int(field_entry)
elif field_type == 'Style':
task_obs_zone['style'] = int(field_entry)
Expand Down

0 comments on commit 2829338

Please sign in to comment.