Fix a bug : gz files were not generated due to bad time comparison

This commit is contained in:
Grégory Soutadé 2016-08-20 13:09:44 +02:00
parent e805e59c10
commit be67d39fb2
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ class IWLA(object):
self._generateDisplayDaysStats()
self._callPlugins(conf.DISPLAY_HOOK_DIRECTORY)
self._generateDisplayWholeMonthStats()
build_time = time.localtime()
build_time = time.mktime(time.localtime())
self.display.build(conf.DISPLAY_ROOT)
self._compressFiles(build_time, conf.DISPLAY_ROOT)