From 2490b87f4378e0f57b1764ce5eaf2f63b5d4210b Mon Sep 17 00:00:00 2001 From: HAMIDx9 Date: Thu, 28 Jan 2016 22:03:07 +0330 Subject: [PATCH] Fix printer format to print logs and avoid netcreds shutting down --- core/netcreds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/netcreds.py b/core/netcreds.py index f4b4723..9e8be01 100644 --- a/core/netcreds.py +++ b/core/netcreds.py @@ -916,7 +916,7 @@ def get_login_pass(body): def printer(src_ip_port, dst_ip_port, msg): if dst_ip_port != None: - print_str = '[{} > {}] {}'.format((src_ip_port, dst_ip_port, msg)) + print_str = '[{} > {}] {}'.format(src_ip_port, dst_ip_port, msg) # All credentials will have dst_ip_port, URLs will not log.info("{}".format(print_str))