Skip to content

Commit

Permalink
fix: --date stacktrace on move-hosts
Browse files Browse the repository at this point in the history
closes: #497
Change-Id: I77f1df28650d7b435cd16e5c15887cdaa7e033eb
  • Loading branch information
grafuls committed Jun 20, 2024
1 parent f983048 commit ab04089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quads/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ def action_movehosts(self): # pragma: no cover

date = ""
if self.cli_args.get("datearg"):
date = datetime.strptime(self.cli_args.get("datearg"), "%Y-%m-%d %H:%M").isoformat()
date = datetime.strptime(self.cli_args.get("datearg"), "%Y-%m-%d %H:%M").isoformat()[:-3]

try:
moves = self.quads.get_moves(date)
Expand Down

0 comments on commit ab04089

Please sign in to comment.