chg: do not export pickle

pull/719/head
Raphaël Vinot 2023-06-12 16:01:30 +02:00
parent c777d7a8f9
commit 97a668aa91
1 changed files with 1 additions and 1 deletions

View File

@ -777,7 +777,7 @@ class Lookyloo():
all_paths.append(capture_dir / 'uuid')
with ZipFile(to_return, 'w') as myzip:
for path in all_paths:
if path.name.endswith('pickle'):
if path.suffix in ['.pickle', '.gz']:
continue
myzip.write(path, arcname=f'{capture_dir.name}/{path.name}')
to_return.seek(0)