Commit 23d7f930 authored by Efthymia Bika's avatar Efthymia Bika Committed by Giorgos Korfiatis

Change timeview cache directories

parent 55038de7
...@@ -156,12 +156,12 @@ function get_contents_by_date(value) { ...@@ -156,12 +156,12 @@ function get_contents_by_date(value) {
} else { } else {
init_path = time_path; init_path = time_path;
} }
var datapath = path.join(BAAS_CACHE_DIR, 'timeviews');
var cert = (clouds[$("#cloud").val()].cert) ? var cert = (clouds[$("#cloud").val()].cert) ?
clouds[$("#cloud").val()].cert : DEFAULT_CERT; clouds[$("#cloud").val()].cert : DEFAULT_CERT;
var archive_dir = BAAS_ARCHIVE_DIR; var archive_dir = BAAS_ARCHIVE_DIR;
var backup_name = hashed_backup_name( var backup_name = hashed_backup_name(
$("#cloud").val(), $("#backup_name").val()); $("#cloud").val(), $("#backup_name").val());
var datapath = path.join(BAAS_CACHE_DIR, 'timeviews', backup_name);
var args = ["python", TIMEVIEW_PATH, datapath, var args = ["python", TIMEVIEW_PATH, datapath,
"swift://" + container, cert, archive_dir, "swift://" + container, cert, archive_dir,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment