From 40cc9b72148eacd5748c01cc2f6f01e9e2b89213 Mon Sep 17 00:00:00 2001 From: srinivas11789 Date: Mon, 1 Jul 2019 17:06:06 -0700 Subject: [PATCH] propagate filename fixes --- Source/Module/user_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Module/user_interface.py b/Source/Module/user_interface.py index 77973c5..b08fa09 100644 --- a/Source/Module/user_interface.py +++ b/Source/Module/user_interface.py @@ -274,7 +274,7 @@ def generate_graph(self): self.progressbar.stop() # Loding the generated map - options = self.option.get()+"_"+self.to_ip.get()+"_"+self.from_ip.get() + options = self.option.get()+"_"+self.to_ip.get().replace(".","-")+"_"+self.from_ip.get().replace(".", "-") self.image_file = os.path.join(self.destination_report.get(), "Report", self.filename+"_"+options+".png") if not os.path.exists(self.image_file): t1 = threading.Thread(target=plot_lan_network.plotLan, args=(self.filename, self.destination_report.get(), self.option.get(), self.to_ip.get(), self.from_ip.get()))