mirror of https://github.com/D4-project/d4-core
Fix indent and self
parent
6bdd70f55c
commit
6c90b140f7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue