Fix offset sub-second precision bug (#642)

This commit is contained in:
Etoh 2023-11-15 22:11:18 +00:00 committed by GitHub
parent 14c82a6d82
commit 7850c2a00d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@ def retry(ExceptionToCheck, tries=4, delay=3, backoff=2, logger=None):
def parseTime(timeStr):
if ":" not in timeStr:
return float(timeStr)
regex = re.compile(constants.PARSE_TIME_REGEX)
parts = regex.match(timeStr)
if not parts: