Fix incorrect instance of PathUtils.join() instead of joinRelative()

This commit is contained in:
Dan Stillman 2024-03-30 08:07:59 -04:00
parent b9aced95c3
commit a45be190ea

View file

@ -634,7 +634,7 @@ Zotero_Preferences.Attachment_Base_Directory = {
// If a file with the same relative path exists within the new base directory,
// don't touch the attachment, since it will continue to work
if (relPath) {
if (yield IOUtils.exists(PathUtils.join(basePath, relPath))) {
if (yield IOUtils.exists(PathUtils.joinRelative(basePath, relPath))) {
numNewAttachments++;
continue;
}