Skip to content

Commit

Permalink
Ensure that the playtime report stream is set to beginning of file be…
Browse files Browse the repository at this point in the history
…fore sending to s3.
  • Loading branch information
dbernstein committed Dec 20, 2024
1 parent 27c3ed7 commit 1755da8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/palace/manager/scripts/playtime_entries.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ def do_run(self):
records=self._fetch_report_records(start=start, until=until),
)

# Rewind report
temp.seek(0)

recipient = os.environ.get(
Configuration.REPORTING_EMAIL_ENVIRONMENT_VARIABLE
)
Expand Down

0 comments on commit 1755da8

Please sign in to comment.