Closed sonnenscheinchen closed 1 year ago
Thanks for the report. This issue was not covered by the tests because of a dedicated directory. However the path
already is a Path
-instance and there is no need to use the more low-level os-module. Also it's better to make the check for the cache-directory in the _get_cache_path
method.
Because it was just a minor change I have applied and commited the code. Will make it as bugfix into the upcoming 1.12 version.
Thanks again.
Making a FritzConnection() with use_cache=True fails on a new installation because of non existing cache-directory: