Update common.py

This commit is contained in:
sqlmapper 2015-07-15 04:27:33 -04:00
parent fdc8e664df
commit 989271e9f8

View File

@ -872,7 +872,7 @@ def dataToOutFile(filename, data):
retVal = os.path.join(conf.filePath, filePathToSafeString(filename))
try:
with openFile(retVal, "wb") as f:
with open(retVal, "wb") as f:
f.write(data)
except IOError, ex:
errMsg = "something went wrong while trying to write "