mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Minor patch
This commit is contained in:
parent
b4f9bf3f21
commit
c96283a083
2 changed files with 2 additions and 2 deletions
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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue