Skip to content

Commit

Permalink
Fix offset sub-second precision bug (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h authored Nov 15, 2023
1 parent 14c82a6 commit 7850c2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions syncplay/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def f_retry(*args, **kwargs):


def parseTime(timeStr):
if ":" not in timeStr:
return float(timeStr)
regex = re.compile(constants.PARSE_TIME_REGEX)
parts = regex.match(timeStr)
if not parts:
Expand Down

0 comments on commit 7850c2a

Please sign in to comment.