[Bug] Bibnotes doesn't copy images into the Vault
Bibnotes doesn't copy images into the Vault. Obsidian's console outputs this message:
Uncaught Error: ENOENT: no such file or directory, copyfile '/home/user/Zotero/storage/ZTWTKZRM/image.png' -> 'home/user/Documents/Obsidian Vault/Bibnotes_export/Booksname_ZTWTKZRM.png'.
New path lacks the / sign at the start of the string. This line of code is responsible for creating this path but if-statement is false for me despite being of Fedora Linux 38 user.
I've managed to make image copy work by monkey-patching (I hope I used right term) by removing if-statement and just keeping its body code right into Obsidian's console.
OS: Fedora Linux 38 Kernel: Linux 6.0.8-xm1.0.fc38.x86_64 Zotero: 6.0.26 Obsidian: 1.2.8 Bibnotes Formatter: 0.9.219
Seems like this bug happens only for files stored with "Attach Link to File" instead of ones stored as a copy of the file.