Merge pull request #404 from WebSpider/dev-replace_fix

Process showname only if it's present
This commit is contained in:
Nils 2014-05-05 23:13:51 +02:00
commit 1728f9c9b6

View file

@ -658,6 +658,8 @@ def sanitizeSceneName(name, ezrss=False):
Returns: A string containing the scene version of the show name given.
"""
if name:
if not ezrss:
bad_chars = u",:()'!?\u2019"
# ezrss leaves : and ! in their show names as far as I can tell