mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Just.. cosmetics ;)
This commit is contained in:
@@ -2300,6 +2300,10 @@ def listToStrValue(value):
|
||||
>>> listToStrValue([1,2,3])
|
||||
'1, 2, 3'
|
||||
"""
|
||||
|
||||
if isinstance(value, (set, tuple)):
|
||||
value = list(value)
|
||||
|
||||
if isinstance(value, list):
|
||||
retValue = value.__str__().lstrip('[').rstrip(']')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user