mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-02-14 07:55:07 +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.file_size = file_path.stat().st_size
|
||||
|
||||
def __len__(self):
|
||||
def __len__(self) -> int:
|
||||
return self.file_size
|
||||
|
||||
def read(self, size=-1):
|
||||
|
||||
Reference in New Issue
Block a user