mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
OPDSbrowser: fix uninitialized calibre (#9718)
This commit is contained in:
@@ -97,7 +97,8 @@ function OPDSBrowser:genItemTableFromRoot()
|
||||
local item_table = {
|
||||
{ -- calibre is the first and non-deletable item
|
||||
text = self.calibre_name,
|
||||
url = string.format("http://%s:%d/opds", self.calibre_opds.host, self.calibre_opds.port),
|
||||
url = self.calibre_opds.host and self.calibre_opds.port and
|
||||
string.format("http://%s:%d/opds", self.calibre_opds.host, self.calibre_opds.port),
|
||||
username = self.calibre_opds.username,
|
||||
password = self.calibre_opds.password,
|
||||
searchable = false,
|
||||
|
||||
Reference in New Issue
Block a user