Skip to content

Commit

Permalink
Fix hist export.
Browse files Browse the repository at this point in the history
  • Loading branch information
sampottinger committed Dec 20, 2024
1 parent a1f4c71 commit 9faf6a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions export_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,10 @@ def is_record_in_scope(target, threshold, geohash_sim_size=4, historic=False):
return False

if historic:
if target['series'] != 'historic':
if str(target['series']) != '2010':
return False
else:
if target['series'] == 'historic':
if str{target['series']) == '2010':
return False

if abs(float(target['unitSize'])) <= 1.0001:
Expand Down

0 comments on commit 9faf6a3

Please sign in to comment.