Skip to content

Commit

Permalink
fix line length
Browse files Browse the repository at this point in the history
  • Loading branch information
asjohnston-asf committed Apr 19, 2024
1 parent 833f1e8 commit 14827e4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fetcher/fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@ def get_cdse_orbits(orbit_type) -> list[dict]:
while items:
response = session.get(url, params=params)
response.raise_for_status()
items = [{'filename': feature['properties']['title'], 'id': feature['id']} for feature in response.json()['features']]
items = [
{
'filename': feature['properties']['title'],
'id': feature['id'],
} for feature in response.json()['features']
]
cdse_orbits.extend(items)
params['page'] += 1
return cdse_orbits
Expand Down

0 comments on commit 14827e4

Please sign in to comment.