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())