diff options
| -rw-r--r-- | harvester_submit_week_for_approval.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/harvester_submit_week_for_approval.py b/harvester_submit_week_for_approval.py index 5939af4..1731f73 100644 --- a/harvester_submit_week_for_approval.py +++ b/harvester_submit_week_for_approval.py @@ -36,8 +36,7 @@ def most_recent_friday(): return now - timedelta(weeks=1) + timedelta(days=friday - now.weekday()) def submit_week_for_approval(driver, wait, subdomain): - # friday = most_recent_friday() - friday = datetime(2018, 1, 15) + friday = most_recent_friday() url = 'https://{subdomain}.harvestapp.com/time/week/{year}/{month}/{day}/'.format( subdomain=subdomain, |
