Fix for exporting csv file

This commit is contained in:
ExploitXx 2021-05-12 12:20:34 +01:00 committed by GitHub
parent 517871b4e9
commit 9e62818eb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -311,7 +311,7 @@ def get_search():
f.close()
f = open(baseDir + '{}.csv'.format(outfile), 'wb')
newcsv='\n'.join(csv)
f.writelines(newcsv.encode())
f.write(newcsv.encode())
for x in csv:
f.write(x.join('\n').encode())
f.close()