From be67d39fb2a8cd3f7bcd767b0e5f579e652f474b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Sat, 20 Aug 2016 13:09:44 +0200 Subject: [PATCH] Fix a bug : gz files were not generated due to bad time comparison --- iwla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iwla.py b/iwla.py index 2bec2de..b10f481 100755 --- a/iwla.py +++ b/iwla.py @@ -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)