mirror of
https://github.com/nmap/nmap.git
synced 2025-12-11 02:09:03 +00:00
Avoid file corruption from Zenmap configs reopening already-open config file
This commit is contained in:
@@ -319,7 +319,6 @@ class WindowConfig(UmitConfigParser, object):
|
|||||||
self.create_section()
|
self.create_section()
|
||||||
|
|
||||||
def save_changes(self):
|
def save_changes(self):
|
||||||
config_parser.fp = open(Path.user_config_file, 'w')
|
|
||||||
config_parser.save_changes()
|
config_parser.save_changes()
|
||||||
|
|
||||||
def create_section(self):
|
def create_section(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user