Skip to content

Commit

Permalink
common: fix wrong import
Browse files Browse the repository at this point in the history
Signed-off-by: pamfilos <[email protected]>
  • Loading branch information
pamfilos committed Jun 5, 2024
1 parent 27195be commit 78f986e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dags/common/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import datetime
from datetime import date, datetime
import io
import json
import os
Expand Down Expand Up @@ -49,7 +49,7 @@ def set_harvesting_interval(repo, **kwargs):
kwargs.get("params", {}).get("from_date")
or repo.find_the_last_uploaded_file_date()
)
until_date = datetime.date.today().strftime("%Y-%m-%d")
until_date = date.today().strftime("%Y-%m-%d")
return {
"from_date": (from_date or until_date),
"until_date": until_date,
Expand Down

0 comments on commit 78f986e

Please sign in to comment.