diff options
Diffstat (limited to 'giscanner/cachestore.py')
-rw-r--r-- | giscanner/cachestore.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/giscanner/cachestore.py b/giscanner/cachestore.py index 27b260f5..3d8e6fd6 100644 --- a/giscanner/cachestore.py +++ b/giscanner/cachestore.py @@ -54,14 +54,14 @@ def _get_cachedir(): cachedir = os.path.join(homedir, '.cache') if not os.path.exists(cachedir): try: - os.mkdir(cachedir, 0755) + os.mkdir(cachedir, 0o755) except OSError: return None scannerdir = os.path.join(cachedir, 'g-ir-scanner') if not os.path.exists(scannerdir): try: - os.mkdir(scannerdir, 0755) + os.mkdir(scannerdir, 0o755) except OSError: return None # If it exists and is a file, don't cache at all |