mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Minor update for #1022
This commit is contained in:
parent
fe58aff26c
commit
84ba5f35ac
|
@ -1741,7 +1741,7 @@ def getConsoleWidth(default=80):
|
||||||
|
|
||||||
if len(items) == 2 and items[1].isdigit():
|
if len(items) == 2 and items[1].isdigit():
|
||||||
width = int(items[1])
|
width = int(items[1])
|
||||||
except OSError:
|
except (OSError, MemoryError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if width is None:
|
if width is None:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user