mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
minor update
This commit is contained in:
parent
f3858a5fcf
commit
c0cc5d1dad
|
@ -159,7 +159,7 @@ class Dump:
|
|||
if isinstance(table, (list, tuple, set)):
|
||||
table = table[0]
|
||||
|
||||
maxlength = max(maxlength, len(str(table)))
|
||||
maxlength = max(maxlength, len(getUnicode(table)))
|
||||
|
||||
lines = "-" * (int(maxlength) + 2)
|
||||
|
||||
|
@ -179,7 +179,7 @@ class Dump:
|
|||
if isinstance(table, (list, tuple, set)):
|
||||
table = table[0]
|
||||
|
||||
blank = " " * (maxlength - len(str(table)))
|
||||
blank = " " * (maxlength - len(getUnicode(table)))
|
||||
self.__write("| %s%s |" % (table, blank))
|
||||
|
||||
self.__write("+%s+\n" % lines)
|
||||
|
|
Loading…
Reference in New Issue
Block a user