mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-07-26 20:32:04 +08:00
fix(url_file): ensure seek position is always an integer (#36960)
This commit is contained in:
@@ -164,7 +164,7 @@ class URLFile:
|
||||
return parts
|
||||
|
||||
def seek(self, pos: int) -> None:
|
||||
self._pos = pos
|
||||
self._pos = int(pos)
|
||||
|
||||
@property
|
||||
def name(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user