mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Some more refactoring
This commit is contained in:
parent
5c35aff22a
commit
58b87e4b6b
6 changed files with 13 additions and 12 deletions
|
|
@ -28,6 +28,7 @@ import sys
|
|||
import tempfile
|
||||
import threading
|
||||
import time
|
||||
import types
|
||||
import urllib
|
||||
import urllib2
|
||||
import urlparse
|
||||
|
|
@ -3418,7 +3419,7 @@ def listToStrValue(value):
|
|||
'1, 2, 3'
|
||||
"""
|
||||
|
||||
if isinstance(value, (set, tuple)):
|
||||
if isinstance(value, (set, tuple, types.GeneratorType)):
|
||||
value = list(value)
|
||||
|
||||
if isinstance(value, list):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue