mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix saving zenmap config to file in some cases.
This commit is contained in:
parent
97b5aa2ced
commit
c4649cd0b8
1 changed files with 2 additions and 2 deletions
|
|
@ -142,8 +142,8 @@ class UmitConfigParser(ConfigParser):
|
|||
def read(self, filename):
|
||||
log.debug(">>> Trying to parse: %s" % filename)
|
||||
|
||||
self.filename = ConfigParser.read(self, filename)
|
||||
return self.filename
|
||||
self.filenames = ConfigParser.read(self, filename)
|
||||
return self.filenames
|
||||
|
||||
def readfp(self, fp, filename=None):
|
||||
ConfigParser.readfp(self, fp, filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue