mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Minor patch
This commit is contained in:
2
thirdparty/bottle/bottle.py
vendored
2
thirdparty/bottle/bottle.py
vendored
@@ -2630,7 +2630,7 @@ def debug(mode=True):
|
||||
""" Change the debug level.
|
||||
There is only one debug level supported at the moment."""
|
||||
global DEBUG
|
||||
if mode: warnings.simplefilter('default')
|
||||
#if mode: warnings.simplefilter('default') # neutralizing already set warning filters (e.g. DeprecationWarning inside sqlmapapi.py)
|
||||
DEBUG = bool(mode)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user