chg: [filerwatcher] fix double queue logging for compressed files

pull/49/head
Jean-Louis Huynen 2021-02-19 09:45:47 +01:00
parent 36a771ea2d
commit a6d5a3d22c
No known key found for this signature in database
GPG Key ID: 64799157F4BD6B93
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ class TypeHandler(MetaTypesDefault):
shutil.copyfileobj(f_in, f_out)
os.remove(path)
self.send_to_analyzers(compressed_filename)
# Send data to Analyzer
self.send_to_analyzers(path)
else:
self.send_to_analyzers(path)
def reconstruct_data(self, data):
# save data in buffer