This is necessary to make the tests run successfully again.
@@ -144,7 +144,7 @@ class CLI(object):
Evaluates given queries.
"""
# Create Core Controller
- controller = Controller(self.args.input, self.args.output, self.args.extraTests, self.args.non_verbose)
+ controller = Controller(self.args.input, self.args.extraTests, self.args.non_verbose, self.args.output)
# Load PCAP statistics
controller.load_pcap_statistics(self.args.export, self.args.recalculate, self.args.statistics)
@@ -13,7 +13,7 @@ import ID2TLib.Utility as Util
class Controller:
- def __init__(self, pcap_file_path: str, pcap_out_path: str, do_extra_tests: bool, non_verbose: bool):
+ def __init__(self, pcap_file_path: str, do_extra_tests: bool, non_verbose: bool, pcap_out_path: str=None):
Creates a new Controller, acting as a central coordinator for the whole application.