From 9300a0bfb662938c2918b906de95acb9927f4881 Mon Sep 17 00:00:00 2001 From: Mark Cooper Date: Tue, 24 Aug 2021 08:04:32 -0500 Subject: [PATCH] Fix ab undefined --- server/Scanner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/Scanner.js b/server/Scanner.js index 9addff62..80338f51 100644 --- a/server/Scanner.js +++ b/server/Scanner.js @@ -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) }