fix: [credential module] fix logging message

pull/594/head
Terrtia 2023-04-06 09:18:57 +02:00
parent f45f9e5836
commit ab01de76e5
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class Credential(AbstractModule):
nb_cred = len(all_credentials) nb_cred = len(all_credentials)
message = f'Checked {nb_cred} credentials found.' message = f'Checked {nb_cred} credentials found.'
all_sites = self.regex_findall(self.regex_web, item.get_id(), item_content) all_sites = self.regex_findall(self.regex_web, item.get_id(), item_content, r_set=True)
if all_sites: if all_sites:
discovered_sites = ', '.join(all_sites) discovered_sites = ', '.join(all_sites)
message += f' Related websites: {discovered_sites}' message += f' Related websites: {discovered_sites}'