Merge branch 'dev' of soutade.fr:iwla into dev

This commit is contained in:
Gregory Soutade 2016-08-29 08:59:14 +02:00
commit 16cf4471dc

View File

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