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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user