Skip to content

Commit

Permalink
arg parser fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Oct 2, 2020
1 parent 267f68c commit ab57d1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ def main():
if '@' in kwargs['ssh_hostname']:
kwargs['ssh_username'], kwargs['ssh_hostname'] = kwargs['ssh_hostname'].split('@', 1)

if args.startdate is not None:
if args.start is not None:
kwargs['start_date'] = parse(args.startdate.strip('"'))

if args.enddate is not None:
if args.end is not None:
kwargs['end_date'] = parse(args.enddate.strip('"'))

if 'start_date' in kwargs and 'end_date' in kwargs:
Expand Down

0 comments on commit ab57d1f

Please sign in to comment.