Commits

mwolf76 committed 1d30962

Fixed a bug, tahnks to vad for spotting it.

Comments (0)

Files changed (1)

storages/backends/moka.py

             logger.info("Cache hit for file '%s'", name)
             return self.remote
 
-        elif cache_result is None and self.remote.exists(name):
+        elif self.remote.exists(name):
             logger.info("Caching remote storage for file '%s'", name)
             self._redis.sadd(REMOTE, name)
             return self.remote