Skip to content

Commit ffb82ff

Browse files
committed
fix: Removed process argument as it's not used
1 parent 1f16d4b commit ffb82ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/traffic.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ def run_executable(executable_path):
2727
return None
2828

2929

30-
def capture_traffic(executable_path, process, output_dir="./data/", timeout=10):
30+
def capture_traffic(executable_path, output_dir="./data/", timeout=10):
3131
"""
3232
Capture network traffic save it to a file in a specified directory.
3333
3434
Args:
3535
executable_path (str): Path to the executable that has to be ran
36-
process (subprocess): Process returned by function run_executable()
3736
output_dir (str): The directory path to save the captured traffic
3837
timeout (itn): Amount of time that the executable will be running for
3938

0 commit comments

Comments
 (0)