diff --git a/monitorstack/utils/__init__.py b/monitorstack/utils/__init__.py index a1df1bb..ce50f34 100644 --- a/monitorstack/utils/__init__.py +++ b/monitorstack/utils/__init__.py @@ -97,7 +97,7 @@ class LocalCache(object): if not self.cache_path: self.cache_path = os.path.join( os.path.expanduser('~'), - '.monitorstack.cache' + '.cache/monitorstack.cache' ) elif not self.cache_path.endswith('cache'): self.cache_path = '{}.cache'.format(self.cache_path) diff --git a/tests/test_utils.py b/tests/test_utils.py index fe9cb14..c1a2648 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -37,7 +37,7 @@ class TestUtils(unittest.TestCase): self.g_testfile = os.path.join( os.path.expanduser('~'), - '.monitorstack.cache' + '.cache/monitorstack.cache' ) self.t_testfile = tempfile.mkdtemp()