From 7850c2a00d829353ee9d1abf18948810253acd75 Mon Sep 17 00:00:00 2001 From: Etoh Date: Wed, 15 Nov 2023 22:11:18 +0000 Subject: [PATCH] Fix offset sub-second precision bug (#642) --- syncplay/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syncplay/utils.py b/syncplay/utils.py index ea9bec3..781f8cb 100755 --- a/syncplay/utils.py +++ b/syncplay/utils.py @@ -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: