- previousSnapshotPath = os.path.join(constants._data_path_, "snapshot_%s.old.json" % type)
- currentSnapshotPath = os.path.join(constants._data_path_, "snapshot_%s.json" % type)
+ previousSnapshotPath = os.path.join(CACHE_PATH, "snapshot_%s.old.json" % type)
+ currentSnapshotPath = os.path.join(CACHE_PATH, "snapshot_%s.json" % type)