We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b80a355 commit bdce6b3Copy full SHA for bdce6b3
1 file changed
plugwise_usb/helpers/cache.py
@@ -48,8 +48,6 @@ def cache_root_directory(self, cache_root_dir: str = "") -> None:
48
async def initialize_cache(self) -> None:
49
"""Set (and create) the plugwise cache directory to store cache file."""
50
if self._root_dir != "":
51
- if not await ospath.exists(self._root_dir):
52
- raise CacheError(f"Unable to initialize caching. Cache folder '{self._root_dir}' does not exists.")
53
cache_dir = self._root_dir
54
else:
55
cache_dir = self._get_writable_os_dir()
0 commit comments