mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
PEP8 cleanups
This commit is contained in:
parent
0e34c8c4b3
commit
7bf12460be
@ -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
|
||||
"""
|
||||
|
||||
|
@ -2263,4 +2263,4 @@ class TVEpisode(object):
|
||||
with self.lock:
|
||||
self.saveToDB()
|
||||
for relEp in self.relatedEps:
|
||||
relEp.saveToDB()
|
||||
relEp.saveToDB()
|
||||
|
Loading…
Reference in New Issue
Block a user