1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 21:21:31 +00:00

Avoid file corruption from Zenmap configs reopening already-open config file

This commit is contained in:
dmiller
2016-03-24 18:03:34 +00:00
parent a26f765546
commit 97b5aa2ced

View File

@@ -319,7 +319,6 @@ class WindowConfig(UmitConfigParser, object):
self.create_section()
def save_changes(self):
config_parser.fp = open(Path.user_config_file, 'w')
config_parser.save_changes()
def create_section(self):