Fixes #1194, RDF Export fails to export files in 1.5
This commit is contained in:
parent
a7f73f0d82
commit
7a2d7594d4
1 changed files with 1 additions and 2 deletions
|
@ -2043,8 +2043,7 @@ Zotero.Translate.prototype._exportGetAttachment = function(attachment) {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// copy imported files from the Zotero directory
|
// copy imported files from the Zotero directory
|
||||||
var directory = Zotero.getStorageDirectory();
|
var directory = file.parent;
|
||||||
directory.append(attachmentArray.itemID);
|
|
||||||
try {
|
try {
|
||||||
directory.copyTo(this._exportFileDirectory, attachmentArray.itemID);
|
directory.copyTo(this._exportFileDirectory, attachmentArray.itemID);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue