pass filename properly for zipped fb2 in CreDocument:init()

pull/2/merge
Qingping Hou 11 years ago
parent 874890aaec
commit 93d3aea905

@ -139,7 +139,7 @@ function CreDocument:init()
if file_type == "zip" then
-- NuPogodi, 20.05.12: read the content of zip-file
-- and return extention of the 1st file
file_type = self:zipContentExt(filename)
file_type = self:zipContentExt(self.file)
end
-- these two format use the same css file
if file_type == "html" then

Loading…
Cancel
Save