From f737afafea921cd519f01b4e9f4ee2979947320a Mon Sep 17 00:00:00 2001 From: Shruti1229 Date: Mon, 24 Jul 2023 21:28:47 +0530 Subject: [PATCH] Add logs --- backend/voiceover/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/voiceover/utils.py b/backend/voiceover/utils.py index eb08a603..691ce360 100644 --- a/backend/voiceover/utils.py +++ b/backend/voiceover/utils.py @@ -365,6 +365,7 @@ def get_bad_sentences(translation_obj, target_language): delete_indices.reverse() for index in delete_indices: translation["payload"].pop(index) + logging.info("delete_indices %s", str(delete_indices)) translation_obj.save() for ind, text in enumerate(translation["payload"]): if not compare_time(text["end_time"], text["start_time"])[0]: