Fix indent and self

visu-type
Jean-Louis Huynen 2019-03-12 15:19:18 +01:00
parent 6bdd70f55c
commit 6c90b140f7
No known key found for this signature in database
GPG Key ID: 4CDEBABACE9A5DC9
1 changed files with 20 additions and 20 deletions

View File

@ -121,7 +121,7 @@ class MetaTypesDefault:
else:
compressed_filename = '{}.{}.gz'.format(file_full_path, i)
if os.path.isfile(compressed_filename):
compress_file(file_full_path, i+1)
self.compress_file(file_full_path, i+1)
else:
with open(file_full_path, 'rb') as f_in:
with gzip.open(compressed_filename, 'wb') as f_out: