Skip to content

Commit

Permalink
Review comment
Browse files Browse the repository at this point in the history
Co-authored-by: Johannes Alneberg <[email protected]>
  • Loading branch information
aanil and alneberg authored Nov 22, 2024
1 parent 3850c53 commit 9b4be39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daily_read/ngi_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def get_data(self, project_id=None, close_date=None):
close_date = (datetime.datetime.now() - relativedelta(months=6)).strftime("%Y-%m-%d")
for row in self.statusdb_session.rows(close_date=close_date):
if "portal_id" not in row.value:
# Probably a project with no associated order(e.g ESCG), log it and skip
# Probably a project with no associated order(e.g legacy ESCG), log it and skip
log.error(f"No portal_id found in row {row.id}, skipping it!")
continue
portal_id = row.value["portal_id"]
Expand Down

0 comments on commit 9b4be39

Please sign in to comment.