update
This commit is contained in:
parent
d5e18b2360
commit
a0b8383984
2 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
print(f"new file found: {new_file_info["source_url"]}")
|
||||
mattermost_communication.report_newly_found_file(file_info)
|
||||
else:
|
||||
changed, new_file_info = db.mark_file_invalid(file_id)
|
||||
if changed and post_mattermost_hint:
|
||||
|
|
|
@ -120,7 +120,6 @@ def sync_file(repo, api_instance, file_info):
|
|||
title=f"[CodiMD sync] Add document {sync_to}",
|
||||
),
|
||||
)
|
||||
mattermost_communication.report_newly_found_file(file_info)
|
||||
else:
|
||||
print(" Merge request was already open.")
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue