parent
43c03c6aca
commit
524a71cfe8
1 changed files with 5 additions and 0 deletions
|
@ -1046,6 +1046,11 @@ Zotero.Attachments = new function(){
|
|||
return path;
|
||||
}
|
||||
|
||||
if (!baseDir.exists()) {
|
||||
Zotero.debug("Base directory '" + baseDir.path + "' doesn't exist", 2);
|
||||
return path;
|
||||
}
|
||||
|
||||
// Get nsIFile for file
|
||||
var attachmentFile = Components.classes["@mozilla.org/file/local;1"]
|
||||
.createInstance(Components.interfaces.nsILocalFile);
|
||||
|
|
Loading…
Add table
Reference in a new issue