Skip to content

Commit

Permalink
Merge pull request #2 from earthobservatory/hysds3
Browse files Browse the repository at this point in the history
Small change to job_name -  remove the right things with lstrip
  • Loading branch information
shitong01 authored Feb 4, 2021
2 parents c25fd39 + b844e6d commit abef014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cron-withpds.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def validate_temporal_input(starttime, endtime, hours_delta):
end.replace("-", "").replace(":", ""),
rtime.strftime("%d_%b_%Y_%H:%M:%S"))

job_name = job_name.lstrip('job-')
job_name = job_name[4:]

# Setup input arguments here
rule, params = get_job_params(job_type, start, end, args.aoi_name, args.opds_sling_extract_version)
Expand Down

0 comments on commit abef014

Please sign in to comment.