Skip to content

Commit

Permalink
fixed issue with strings not getting replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Lunn committed Sep 13, 2023
1 parent 2294fb7 commit 15b8f5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/local_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def __extract_group_value_from_match(match, group_name, optional: bool = False)
)
raise FileMatchException(f"Could not find group {group_name} in match")
group_str = str(group)
group_str.strip()
group_str = group_str.strip()
return group_str


Expand All @@ -123,7 +123,7 @@ def get_episode(target_dir: str, arcs, file: FileInfo) -> Episode:
return None

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

Expand Down

0 comments on commit 15b8f5e

Please sign in to comment.