File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 2828import shutil
2929
3030
31- VERSION = "1.4.8 "
31+ VERSION = "1.4.9 "
3232
3333
3434class Language :
@@ -3679,14 +3679,23 @@ def main():
36793679 #print(f"len(media_filepaths) = {len(media_filepaths)}")
36803680 #print(f"completed_tasks = {completed_tasks}\n")
36813681
3682- if len (media_filepaths )> 0 and completed_tasks == len (media_filepaths ):
3682+ if len (media_filepaths )> 0 and len ( processed_list ) > 0 and completed_tasks == len (media_filepaths ) + len ( processed_list ):
36833683 transcribe_end_time = time .time ()
36843684 transcribe_elapsed_time = transcribe_end_time - transcribe_start_time
36853685 transcribe_elapsed_time_seconds = timedelta (seconds = int (transcribe_elapsed_time ))
36863686 transcribe_elapsed_time_str = str (transcribe_elapsed_time_seconds )
36873687 hour , minute , second = transcribe_elapsed_time_str .split (":" )
36883688 msg = "Total running time : %s:%s:%s" % (hour .zfill (2 ), minute , second )
36893689 print (msg )
3690+ elif len (media_filepaths )> 0 and completed_tasks == len (media_filepaths ):
3691+ transcribe_end_time = time .time ()
3692+ transcribe_elapsed_time = transcribe_end_time - transcribe_start_time
3693+ transcribe_elapsed_time_seconds = timedelta (seconds = int (transcribe_elapsed_time ))
3694+ transcribe_elapsed_time_str = str (transcribe_elapsed_time_seconds )
3695+ hour , minute , second = transcribe_elapsed_time_str .split (":" )
3696+ msg = "Total running time : %s:%s:%s" % (hour .zfill (2 ), minute , second )
3697+ print (msg )
3698+
36903699
36913700 if pool :
36923701 pool .close ()
You can’t perform that action at this time.
0 commit comments