mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 21:14:01 +08:00
@@ -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