Skip to content

Commit a7174ee

Browse files
Fixed MX records not displayed in PDF report (#30)
1 parent a9a3c87 commit a7174ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datagather_modules/networking_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_dns_info(short_domain, report_file_extension):
2323
if report_file_extension == 'xlsx':
2424
return ', '.join(map(str, mx_list))
2525
elif report_file_extension == 'pdf':
26-
return mx_list
26+
return ', '.join(map(str, mx_list))
2727
except dns.resolver.NoAnswer as error_noans:
2828
print(Fore.RED + "No answer from domain about MX records. Reason: {}".format(error_noans))
2929
return 'No information about MX records was gathered'

0 commit comments

Comments
 (0)