mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor drei update
This commit is contained in:
@@ -1758,7 +1758,7 @@ def getFileType(filePath):
|
||||
"""
|
||||
|
||||
try:
|
||||
desc = magic.from_file(filePath) or ""
|
||||
desc = getUnicode(magic.from_file(filePath) or "")
|
||||
except:
|
||||
return "unknown"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user