From 0a2792cedb460899c7e574e22ba0f1a65be56622 Mon Sep 17 00:00:00 2001 From: Tris Date: Mon, 22 Mar 2021 10:50:18 +1100 Subject: [PATCH] Fixed missing settings --- byostorage/cached.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/byostorage/cached.py b/byostorage/cached.py index 17bef8e..95f5b75 100644 --- a/byostorage/cached.py +++ b/byostorage/cached.py @@ -17,7 +17,7 @@ class CachedStorage(Storage): if not remote: remote = getattr(settings, 'CACHED_STORAGE_REMOTE') if not cachedir: - cachedir = getattr(settings. 'CACHED_STORAGE_DIR', 'cache') + cachedir = getattr(settings, 'CACHED_STORAGE_DIR', 'cache') self.remote = get_storage_class(remote)() self.cachedir = cachedir