From a08e8b94bf173114a054e416f52a20cd493ed0d5 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Wed, 23 Mar 2022 03:46:48 -0400 Subject: [PATCH] [22] reset edits --- VERSION | 2 +- modules/meta.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 3c9f90e5..66dd5f69 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.16.2-develop21 +1.16.2-develop22 diff --git a/modules/meta.py b/modules/meta.py index c51128ce..ebf1836c 100644 --- a/modules/meta.py +++ b/modules/meta.py @@ -972,6 +972,7 @@ class MetadataFile(DataFile): for episode in season.episodes(): if len(episode.locations) > 0: ep_title, session_date = race.session_info(episode.locations[0], sprint_weekend) + edits = {} add_edit("title", episode, value=ep_title) add_edit("originally_available", episode, key="originallyAvailableAt", var_type="date", value=session_date) if self.library.edit_item(episode, f"{season.seasonNumber} Episode: {episode.episodeNumber}", "Season", edits):