mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-07-26 20:02:11 +08:00
uploader: add missing types
old-commit-hash: e03efa723b7a20f412029fa946eef99b95a5a798
This commit is contained in:
@@ -178,7 +178,7 @@ class Uploader:
|
||||
|
||||
return self.last_resp
|
||||
|
||||
def upload(self, name, key, fn, network_type, metered):
|
||||
def upload(self, name: str, key: str, fn: str, network_type: int, metered: bool) -> bool:
|
||||
try:
|
||||
sz = os.path.getsize(fn)
|
||||
except OSError:
|
||||
|
||||
Reference in New Issue
Block a user