Fix 'maxsize variable doing nothing' bug

In one of the earlier commits the varible was erased from being passed to vaddump - that corrects it.
This commit is contained in:
AsafEitani
2020-11-18 19:56:30 +00:00
committed by ikelos
parent 9150cd971b
commit 4ec006e606
@@ -188,7 +188,7 @@ class VadInfo(interfaces.plugins.PluginInterface):
file_output = "Disabled"
if self.config['dump']:
file_handle = self.vad_dump(self.context, proc, vad, self.open)
file_handle = self.vad_dump(self.context, proc, vad, self.open, self.config['maxsize'])
file_output = "Error outputting file"
if file_handle:
file_handle.close()