Skip to content

Commit

Permalink
fix isoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
francesconazzaro committed Mar 28, 2023
1 parent b5f940f commit 098f09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cads_adaptors/adaptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def retrieve(self, request: Request) -> BinaryIO:
import time

size = int(request.get("size", 0))
elapsed = request.get("elapsed", "0:00:00.0")
elapsed = request.get("elapsed", "0:00:00.000")
try:
time_elapsed = datetime.time.fromisoformat("0" + elapsed)
time_sleep = datetime.timedelta(
Expand Down

0 comments on commit 098f09b

Please sign in to comment.