Fix error replacing non-empty export directory
This commit is contained in:
parent
63c90f2ae7
commit
7c081170d5
1 changed files with 1 additions and 1 deletions
|
@ -1897,7 +1897,7 @@ Zotero.Translate.prototype._export = function() {
|
||||||
|
|
||||||
// delete this file if it exists
|
// delete this file if it exists
|
||||||
if(this.location.exists()) {
|
if(this.location.exists()) {
|
||||||
this.location.remove(false);
|
this.location.remove(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// get name
|
// get name
|
||||||
|
|
Loading…
Add table
Reference in a new issue