From 935a18561b1266bea7aa8d7ca077675accae2ab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Mon, 29 Aug 2016 08:58:16 +0200 Subject: [PATCH] Previous patch needs >= to works properly, not juste > (for build time comparison) --- iwla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iwla.py b/iwla.py index 0322bc5..b9a027b 100755 --- a/iwla.py +++ b/iwla.py @@ -548,7 +548,7 @@ class IWLA(object): self.logger.debug('Compress %s => %s' % (path, gz_path)) if not os.path.exists(gz_path) or\ - os.stat(path).st_mtime > build_time: + os.stat(path).st_mtime >= build_time: with open(path, 'rb') as f_in, gzip.open(gz_path, 'wb') as f_out: f_out.write(f_in.read())