From 7a48f6de328c74058ac8ff3080618dfb415fea01 Mon Sep 17 00:00:00 2001 From: bullmoose20 <12549033+bullmoose20@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:34:52 -0500 Subject: [PATCH 1/3] Update footer add back date and replace End Time: with Finished: --- kometa.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/kometa.py b/kometa.py index 491caeae9..0e88a6681 100644 --- a/kometa.py +++ b/kometa.py @@ -428,14 +428,9 @@ def start(attrs): logger.stacktrace() logger.error(f"Report Error: {e}") - if start_time.date() == end_time.date(): - start_str = start_time.strftime('%H:%M:%S') - end_str = end_time.strftime('%H:%M:%S') - else: - start_str = start_time.strftime('%H:%M:%S %Y-%m-%d') - end_str = end_time.strftime('%H:%M:%S %Y-%m-%d') - - logger.separator(f"Finished {start_type}Run\n{version_line}\nStart Time: {start_str} End Time: {end_str} Run Time: {run_time}") + start_str = start_time.strftime('%H:%M:%S %Y-%m-%d') + end_str = end_time.strftime('%H:%M:%S %Y-%m-%d') + logger.separator(f"Finished {start_type}Run\n{version_line}\nStart Time: {start_str} Finished: {end_str} Run Time: {run_time}") logger.remove_main_handler() except Exception as e: logger.stacktrace() From 7639fe594ae00085ef7cd5ef118bfa59f9abeb15 Mon Sep 17 00:00:00 2001 From: bullmoose20 <12549033+bullmoose20@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:37:56 -0500 Subject: [PATCH 2/3] Update CHANGELOG --- CHANGELOG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 57e794486..20f664642 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -38,4 +38,4 @@ Fixes an issue causing IMDB collection to fail due to duplicate keys Removed Blog from the Navigation due to lack of time for updating/maintaining it Fixes #2354 by updating version of tmdbapi dependency Added Start Time, End Time and Run Time to Summary of run. Date of Start/End Time now only displays if the Start and End are on different dates. - +Added back date and replace End Time: with Finished: so that logscan will have the additional information in its output From b680f4e995ef607a9c79afe598abc7fa93c90a50 Mon Sep 17 00:00:00 2001 From: bullmoose20 <12549033+bullmoose20@users.noreply.github.com> Date: Thu, 12 Dec 2024 15:39:40 -0500 Subject: [PATCH 3/3] Update CHANGELOG --- CHANGELOG | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 20f664642..69c75b400 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -37,5 +37,4 @@ Modifies default value presentation for default metadata files. Fixes an issue causing IMDB collection to fail due to duplicate keys Removed Blog from the Navigation due to lack of time for updating/maintaining it Fixes #2354 by updating version of tmdbapi dependency -Added Start Time, End Time and Run Time to Summary of run. Date of Start/End Time now only displays if the Start and End are on different dates. -Added back date and replace End Time: with Finished: so that logscan will have the additional information in its output +Added Start Time, Finished and Run Time to Summary of run.