mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-10-01 03:43:42 +08:00
[bot] Update Python packages and pre-commit hooks (#31508)
* Update Python packages and pre-commit hooks * remove that --------- Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com> Co-authored-by: Justin Newberry <justin@comma.ai>
This commit is contained in:
@@ -20,7 +20,7 @@ class StreamingDecompressor:
|
||||
def __init__(self, url: str) -> None:
|
||||
self.buf = b""
|
||||
|
||||
self.req = requests.get(url, stream=True, headers={'Accept-Encoding': None}, timeout=60) # type: ignore
|
||||
self.req = requests.get(url, stream=True, headers={'Accept-Encoding': None}, timeout=60)
|
||||
self.it = self.req.iter_content(chunk_size=1024 * 1024)
|
||||
self.decompressor = lzma.LZMADecompressor(format=lzma.FORMAT_AUTO)
|
||||
self.eof = False
|
||||
|
||||
Reference in New Issue
Block a user