mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13: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()
|
||||
if not unicode_:
|
||||
try:
|
||||
str.encode(line)
|
||||
line = str.encode(line)
|
||||
except UnicodeDecodeError:
|
||||
continue
|
||||
if line:
|
||||
|
|
Loading…
Reference in New Issue
Block a user