mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
minor fix
This commit is contained in:
parent
de94bee7b5
commit
9e5cf70a5a
|
@ -32,9 +32,9 @@ def configFileProxy(section, option, boolean=False, integer=False):
|
|||
|
||||
if config.has_option(section, option):
|
||||
if boolean:
|
||||
value = config.getboolean(section, option)
|
||||
value = config.getboolean(section, option) if config.get(section, option) else False
|
||||
elif integer:
|
||||
value = config.getint(section, option)
|
||||
value = config.getint(section, option) if config.get(section, option) else 0
|
||||
else:
|
||||
value = config.get(section, option)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user