mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
fix types (mpy)
This commit is contained in:
parent
dc20f518dd
commit
11dad85404
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class CollectionPartCache(CollectionBase):
|
||||||
return _hash.hexdigest()
|
return _hash.hexdigest()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _item_cache_mtime_and_size(size: bytes, raw_text: bytes) -> str:
|
def _item_cache_mtime_and_size(size: int, raw_text: int) -> str:
|
||||||
return str(storage.CACHE_VERSION.decode()) + "size=" + str(size) + ";mtime=" + str(raw_text)
|
return str(storage.CACHE_VERSION.decode()) + "size=" + str(size) + ";mtime=" + str(raw_text)
|
||||||
|
|
||||||
def _item_cache_content(self, item: radicale_item.Item) -> CacheContent:
|
def _item_cache_content(self, item: radicale_item.Item) -> CacheContent:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue