[22] reset edits

This commit is contained in:
meisnate12 2022-03-23 03:46:48 -04:00
parent de9f3da43d
commit a08e8b94bf
2 changed files with 2 additions and 1 deletions

View file

@ -1 +1 @@
1.16.2-develop21
1.16.2-develop22

View file

@ -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):