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
78024eafe0
commit
c4414df594
|
@ -1345,7 +1345,7 @@ def getFileItems(filename, commentPrefix='#', unicode_=True):
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if not unicode_:
|
if not unicode_:
|
||||||
try:
|
try:
|
||||||
str.encode(line)
|
line = str.encode(line)
|
||||||
except UnicodeDecodeError:
|
except UnicodeDecodeError:
|
||||||
continue
|
continue
|
||||||
if line:
|
if line:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user