Skip to content

Commit

Permalink
driveinfo is also an array
Browse files Browse the repository at this point in the history
  • Loading branch information
NiLuJe committed Jun 7, 2024
1 parent 80dab6f commit d8a166b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/calibre.koplugin/metadata.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ end
local CalibreMetadata = {
-- info about the library itself. It should
-- hold a table with the contents of "driveinfo.calibre"
drive = {},
drive = rapidjson.array({}),
-- info about the books in this library. It should
-- hold a table with the contents of "metadata.calibre"
books = rapidjson.array({}),
Expand Down Expand Up @@ -222,7 +222,7 @@ end
-- cleans all temp data stored for current library.
function CalibreMetadata:clean()
self.books = rapidjson.array({})
self.drive = {}
self.drive = rapidjson.array({})
self.path = nil
self.driveinfo = nil
self.metadata = nil
Expand Down

0 comments on commit d8a166b

Please sign in to comment.