1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-17 14:55:07 -05:00

Only process if there is a name present

This commit is contained in:
Nils Vogels 2014-05-05 23:08:10 +02:00
parent b33e2be047
commit 21b7aa2785

View File

@ -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