Skip to content

Commit

Permalink
Fix Maproulette export
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Sep 2, 2023
1 parent e6f5c70 commit ce596b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,9 @@ async def issues_maproulette_jsonl(
for obj in properties["fixes"][0]
],
}
if len(properties["fixes"]) == 1
if "fixes" in properties
and properties["fixes"] is not None
and len(properties["fixes"]) == 1
and properties["fixes"][0][0].get("id") is not None
else None,
}
Expand Down

0 comments on commit ce596b2

Please sign in to comment.