diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2019-05-13 17:41:19 +0200 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2019-05-13 17:41:19 +0200 |
commit | 08e1b5aef425090e4dc91978968a97bc5b38e53d (patch) | |
tree | 9253912598c781d615b6f8621167674508ab5c9c /js/vapi-background.js | |
parent | 8ef453fe1ac8d80f90216de188e4b98df70dab22 (diff) | |
download | ematrix-08e1b5aef425090e4dc91978968a97bc5b38e53d.tar.lz ematrix-08e1b5aef425090e4dc91978968a97bc5b38e53d.tar.xz ematrix-08e1b5aef425090e4dc91978968a97bc5b38e53d.zip |
Fix handling of existing data
Diffstat (limited to 'js/vapi-background.js')
-rw-r--r-- | js/vapi-background.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/vapi-background.js b/js/vapi-background.js index 09a5842..67d540e 100644 --- a/js/vapi-background.js +++ b/js/vapi-background.js @@ -359,8 +359,7 @@ vAPI.storage = (function() { let path2 = Services.dirsvc.get('ProfD', Ci.nsIFile); path2.append('extension-data'); if (path2.exists()) { - path2.append(location.host + '.sqlite'); - path2.copyTo(path, location.host + '.sqlite'); + path2.moveTo(null, path.leafName); } path.append(location.host + '.sqlite'); |