mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Replacing os.sep constructs with os.path.join
This commit is contained in:
parent
2f1607b4d5
commit
d84ddf23bd
3 changed files with 8 additions and 8 deletions
|
|
@ -837,7 +837,7 @@ def dataToOutFile(filename, data):
|
|||
retVal = None
|
||||
|
||||
if data:
|
||||
retVal = "%s%s%s" % (conf.filePath, os.sep, filePathToSafeString(filename))
|
||||
retVal = os.path.join(conf.filePath, filePathToSafeString(filename))
|
||||
|
||||
with codecs.open(retVal, "wb", UNICODE_ENCODING) as f:
|
||||
f.write(data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue