mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-16 17:47:43 +00:00
Merge pull request #404 from WebSpider/dev-replace_fix
Process showname only if it's present
This commit is contained in:
commit
1728f9c9b6
1 changed files with 16 additions and 14 deletions
|
@ -658,6 +658,8 @@ def sanitizeSceneName(name, ezrss=False):
|
||||||
Returns: A string containing the scene version of the show name given.
|
Returns: A string containing the scene version of the show name given.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
if name:
|
||||||
|
|
||||||
if not ezrss:
|
if not ezrss:
|
||||||
bad_chars = u",:()'!?\u2019"
|
bad_chars = u",:()'!?\u2019"
|
||||||
# ezrss leaves : and ! in their show names as far as I can tell
|
# ezrss leaves : and ! in their show names as far as I can tell
|
||||||
|
|
Loading…
Reference in a new issue