Private GIT

Skip to content
Snippets Groups Projects
Commit edce9988 authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Remove escapes from exceptions

parent 5025a1a3
No related branches found
No related tags found
No related merge requests found
......@@ -290,7 +290,7 @@ def retrieve_exceptions():
tvdb_id = int(tvdb_id)
# regex out the list of shows, taking \' into account
alias_list = re.findall(r"'(.*?)(?<!\\)',?", aliases)
alias_list = [re.sub(r'\\(.)', r'\1', x) for x in re.findall(r"'(.*?)(?<!\\)',?", aliases)]
exception_dict[tvdb_id] = alias_list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment