Permalink
Browse files

one more regex filter

  • Loading branch information...
1 parent c60b285 commit e881d7a2ab38c145f51bf53383384e22b176de86 @cytec committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sickbeard/show_name_helpers.py
@@ -239,7 +239,7 @@ def isGoodResult(name, show, log=True):
#releasetrim = '^<?.* \d{9,} ?-? '
#use regex and sub to replace common spam
- releasetrim = ['^<?.* \d{9,} ?-? ','^\.zZz\.']
+ releasetrim = ['^<?.* \d{9,} ?-? ','^\.zZz\.','(.*) >']
realname = name
for regex in releasetrim:
name = re.sub(regex, "", name)

0 comments on commit e881d7a

Please sign in to comment.