X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Fcache.py;h=9603c8b38f43fb049d38879db8b140dbc2b59e06;hb=418a891bc69e8729f327e0c9fc38e45786ade65d;hp=e16ca0e5e2e212ab839bced62415496a5a653f5b;hpb=64f927d489fa6f0edfe47e9c6105198c7f2a1c89;p=mpd-sima.git diff --git a/sima/lib/cache.py b/sima/lib/cache.py index e16ca0e..9603c8b 100644 --- a/sima/lib/cache.py +++ b/sima/lib/cache.py @@ -73,7 +73,7 @@ class FileCache: self.forever = forever if not os.path.isdir(self.directory): - os.makedirs(self.directory) + os.makedirs(self.directory, mode=0o755) def encode(self, val): return md5(val.encode('utf-8')).hexdigest()