mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-08 17:08:35 +08:00
fix(Alist): add type hints
This commit is contained in:
@@ -615,7 +615,7 @@ class Alist(StorageBase, metaclass=WeakSingleton):
|
|||||||
self.uploaded_size = 0
|
self.uploaded_size = 0
|
||||||
self.file_size = file_path.stat().st_size
|
self.file_size = file_path.stat().st_size
|
||||||
|
|
||||||
def __len__(self):
|
def __len__(self) -> int:
|
||||||
return self.file_size
|
return self.file_size
|
||||||
|
|
||||||
def read(self, size=-1):
|
def read(self, size=-1):
|
||||||
|
|||||||
Reference in New Issue
Block a user