Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/carquinyol/datastore.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/carquinyol/datastore.py')
-rw-r--r--src/carquinyol/datastore.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/carquinyol/datastore.py b/src/carquinyol/datastore.py
index d9bd56b..212901b 100644
--- a/src/carquinyol/datastore.py
+++ b/src/carquinyol/datastore.py
@@ -177,6 +177,7 @@ class DataStore(dbus.service.Object):
logger.warn('Attempting to move tempfs index to disk')
# move to internal disk
try:
+ index_path = layoutmanager.get_instance().get_index_path()
if os.path.exists(index_path):
shutil.rmtree(index_path)
shutil.copytree(temp_index_path, index_path)