diff --git a/ox/movie.py b/ox/movie.py index 1d6d18d..1b0b9d7 100644 --- a/ox/movie.py +++ b/ox/movie.py @@ -36,7 +36,7 @@ The Title[ ([SXX][EYY[+ZZ|-ZZ]])[ Episode Title]][.Version][.Part XY[.Part Title def format_path(data, directory_key='director'): def format_underscores(string): - return = re.sub('^\.|\.$|:|/|\?|<|>', '_', string) + return re.sub('^\.|\.$|:|/|\?|<|>', '_', string) is_episode = data['episode'] != None or data['season'] != None director = data['directorSort'] or ['Unknown Director'] title = data['seriesTitle' if data['isEpisode'] else 'title'] or 'Untitled'