1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

PEP8 cleanups

This commit is contained in:
Nils Vogels 2014-05-29 02:44:00 +02:00
parent 0e34c8c4b3
commit 7bf12460be
2 changed files with 4 additions and 4 deletions

View File

@ -58,15 +58,15 @@ class NameParser(object):
def clean_series_name(self, series_name):
"""Cleans up series name by removing any . and _
characters, along with any trailing hyphens.
Is basically equivalent to replacing all _ and . with a
space, but handles decimal numbers in string, for example:
>>> cleanRegexedSeriesName("an.example.1.0.test")
'an example 1.0 test'
>>> cleanRegexedSeriesName("an_example_1.0_test")
'an example 1.0 test'
Stolen from dbr's tvnamer
"""

View File

@ -2263,4 +2263,4 @@ class TVEpisode(object):
with self.lock:
self.saveToDB()
for relEp in self.relatedEps:
relEp.saveToDB()
relEp.saveToDB()