Skip to content

Commit

Permalink
condense
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE committed Apr 25, 2024
1 parent 7ea6fe4 commit a25eb4c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ async def import_data_activity(inputs: ImportDataActivityInputs) -> tuple[TSchem
# Hacky just for specific user
region = get_instance_region()
if region == "EU" and inputs.team_id == 11870:
prev_day = timezone.now()
start_date = prev_day.replace(day=1, hour=0, minute=0, second=0, microsecond=0)
start_date = timezone.now().replace(day=1, hour=0, minute=0, second=0, microsecond=0)
end_date = start_date + dt.timedelta(weeks=5)
else:
start_date = None
Expand Down

0 comments on commit a25eb4c

Please sign in to comment.