mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-21 07:46:32 +08:00
fix #397
This commit is contained in:
parent
10600aab94
commit
79af9e5e53
|
@ -610,7 +610,7 @@ async def handler(lst):
|
|||
sys.exit(1)
|
||||
|
||||
try:
|
||||
filename = filename.split('.')[0] + '.xml'
|
||||
filename.rsplit('.', 1)[0] + '.xml'
|
||||
file = open(filename, 'w')
|
||||
file.write('<?xml version="1.0" encoding="UTF-8"?><theHarvester>')
|
||||
for x in all_emails:
|
||||
|
|
Loading…
Reference in a new issue