Skip to content

Commit

Permalink
add regularization field in janitor
Browse files Browse the repository at this point in the history
  • Loading branch information
MarJene committed Sep 27, 2022
1 parent 3ba13b5 commit 9c222d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/genkwh_rights_janitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def get_mongo_rights(member_id, consultation_date=None, start=START_DATE):
'$gte': start,
},
"name": member_id,
"regularization": {
"$exists": False
},
}
if consultation_date:
filters.update({"create_at": {
Expand Down

0 comments on commit 9c222d3

Please sign in to comment.