Fix ab undefined

This commit is contained in:
advplyr 2021-08-24 08:04:32 -05:00
parent 82241fd2f2
commit 759be593b6

View File

@ -24,6 +24,7 @@ class Scanner {
// TEMP - fix relative file paths
if (this.audiobooks.length) {
for (let i = 0; i < this.audiobooks.length; i++) {
var ab = this.audiobooks[i]
if (ab.fixRelativePath(this.AudiobookPath)) {
await this.db.updateAudiobook(ab)
}