dont take time before checking files
This commit is contained in:
parent
989211b170
commit
fbb08dd770
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ class Archive(SQLObject):
|
|||
return True
|
||||
|
||||
def sinceLastModification(self):
|
||||
return time.time() - max([os.stat(f).st_mtime for f in glob('%s*/*'% self.basePath)])
|
||||
lastModification = max([os.stat(f).st_mtime for f in glob('%s*/*'% self.basePath)])
|
||||
return time.time() - lastModification
|
||||
|
||||
def notifyFrontend(self, action, md5sum):
|
||||
if self.baseUrlFrontend:
|
||||
|
|
Loading…
Reference in a new issue