From c467f7fa5284f70717964ea3e00f24fd4c132c68 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 11 Sep 2012 19:22:45 +0200 Subject: [PATCH] typo --- ox/movie.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'