Merge pull request #90 from onokatio/fixhh

Update host xxh home after config loading
This commit is contained in:
anki-code 2020-06-20 11:04:32 +03:00 committed by GitHub
commit 87f0bbc702
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -748,6 +748,8 @@ class xxh:
local_xxh_home_parent = self.local_xxh_home.parent
self.host_xxh_home = opt.host_xxh_home
if self.local_xxh_home.exists():
if not os.access(self.local_xxh_home, os.W_OK):
self.eeprint(f"The local xxh home path isn't writable: {self.local_xxh_home}" )