Cosmetic changes

This commit is contained in:
Unrud
2020-01-21 19:40:02 +01:00
parent fc180266d5
commit db7587c593
7 changed files with 35 additions and 38 deletions

View File

@@ -53,7 +53,8 @@ class CollectionCacheMixin:
if modified:
self._storage._sync_directory(folder)
def _item_cache_hash(self, raw_text):
@staticmethod
def _item_cache_hash(raw_text):
_hash = sha256()
_hash.update(storage.CACHE_VERSION)
_hash.update(raw_text)