diff --git a/src/run.py b/src/run.py index 8ae4da3..21ef281 100644 --- a/src/run.py +++ b/src/run.py @@ -78,7 +78,7 @@ def validate_downloaded_files(post_mattermost_hint=True): if metadata is not None: is_new_file, new_file_info = db.mark_file_valid(file_id, metadata) if is_new_file: - mattermost_communication.report_newly_found_file(file_info) + mattermost_communication.report_newly_found_file(new_file_info) else: changed, new_file_info = db.mark_file_invalid(file_id) if changed and post_mattermost_hint: