mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 01:43:37 +00:00
Only process if there is a name present
This commit is contained in:
parent
b33e2be047
commit
21b7aa2785
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.
|
||||
"""
|
||||
|
||||
if name:
|
||||
|
||||
if not ezrss:
|
||||
bad_chars = u",:()'!?\u2019"
|
||||
# ezrss leaves : and ! in their show names as far as I can tell
|
||||
|
|
Loading…
Reference in a new issue