Fix ab undefined

This commit is contained in:
Mark Cooper 2021-08-24 08:04:32 -05:00
parent 3d64115051
commit 9300a0bfb6

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)
}