Skip to content

Commit

Permalink
Change -u flag to hours
Browse files Browse the repository at this point in the history
  • Loading branch information
tukiains committed Nov 2, 2023
1 parent f9775e6 commit 9aa5eda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/data_processing/subcmds/process_cloudnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def process_raw_data_using_updated_at(self):

def _get_uploaded_raw_metadata(self) -> list:
updated_at_from = datetime.date.today() - datetime.timedelta(
days=self.args.updated_since
hours=self.args.updated_since
)
payload = {
"updatedAtFrom": updated_at_from,
Expand Down Expand Up @@ -430,8 +430,8 @@ def add_arguments(subparser):
parser.add_argument(
"-u",
"--updated_since",
type=int,
help="Process all raw files submitted within `--updated_since` in days. Ignores other "
type=float,
help="Process all raw files submitted within `--updated_since` in hours. Ignores other "
"arguments than `--site`",
)
parser.add_argument(
Expand Down

0 comments on commit 9aa5eda

Please sign in to comment.