Skip to content

Commit

Permalink
Merge pull request #9 from JakeLunn/regex
Browse files Browse the repository at this point in the history
re-added whisky/whiskey fix
  • Loading branch information
JakeLunn authored Sep 11, 2023
2 parents abb6c8e + 30ce62f commit 8fb1324
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/local_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ def get_episode(target_dir: str, arcs, file: FileInfo) -> Episode:
return None

file_arc = __extract_group_value_from_match(data, "Arc")
file_arc.replace(
"Whiskey", "Whisky"
) # Fix spelling difference in file name from onepace.net data :)
file_episode = __extract_group_value_from_match(data, "Episode")
file_quality = __extract_group_value_from_match(data, "Quality")

Expand Down

0 comments on commit 8fb1324

Please sign in to comment.