diff options
-rw-r--r-- | js/vapi-background.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/vapi-background.js b/js/vapi-background.js index 9088748..4499e5c 100644 --- a/js/vapi-background.js +++ b/js/vapi-background.js @@ -355,13 +355,14 @@ vAPI.storage = (function() { if ( !path.isDirectory() ) { throw Error('Should be a directory...'); } + path.append(location.host + '.sqlite'); let path2 = Services.dirsvc.get('ProfD', Ci.nsIFile); path2.append('extension-data'); + path2.append(location.host + '.sqlite'); if (path2.exists()) { path2.moveTo(null, path.leafName); } - path.append(location.host + '.sqlite'); // Open database try { |