fix bug
This commit is contained in:
parent
a0b8383984
commit
b0e4d1f703
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ def validate_downloaded_files(post_mattermost_hint=True):
|
||||||
if metadata is not None:
|
if metadata is not None:
|
||||||
is_new_file, new_file_info = db.mark_file_valid(file_id, metadata)
|
is_new_file, new_file_info = db.mark_file_valid(file_id, metadata)
|
||||||
if is_new_file:
|
if is_new_file:
|
||||||
mattermost_communication.report_newly_found_file(file_info)
|
mattermost_communication.report_newly_found_file(new_file_info)
|
||||||
else:
|
else:
|
||||||
changed, new_file_info = db.mark_file_invalid(file_id)
|
changed, new_file_info = db.mark_file_invalid(file_id)
|
||||||
if changed and post_mattermost_hint:
|
if changed and post_mattermost_hint:
|
||||||
|
|
Loading…
Reference in a new issue