2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

Merge pull request #259 from dpavlin/fileinfo_duplication

fileinfo doesn't reset results
This commit is contained in:
{Qingping,Dave} Hou 2012-09-09 06:33:48 -07:00
commit 329132d3df

View File

@ -32,6 +32,7 @@ end
function FileInfo:init(path, fname)
self.pathfile = path.."/"..fname
self.result = {}
-- add commands only once
if not self.commands then
self:addAllCommands()