From ed6f6e93a904943eaa4c4b35eac5e2d7ae6cb282 Mon Sep 17 00:00:00 2001 From: evilhero Date: Fri, 29 Mar 2013 00:14:39 -0400 Subject: [PATCH] FIX:(#287) Unicode error using Experimental search --- mylar/findcomicfeed.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mylar/findcomicfeed.py b/mylar/findcomicfeed.py index 07100d5e..2061153d 100755 --- a/mylar/findcomicfeed.py +++ b/mylar/findcomicfeed.py @@ -67,22 +67,22 @@ def Startit(searchName, searchIssue, searchYear): splitTitle = title.split("\"") for subs in splitTitle: - logger.fdebug("looking at: " + str(subs)) + logger.fdebug("looking at: " + subs) regEx = re.findall("\\b%s\\b\\s*\\b%s\\b\\s*[(]\\b%s\\b[)]" %(searchName, searchIssue, searchYear), subs, flags=re.IGNORECASE) regExOne = re.findall("\\b%s\\b\\s*\\b%s\\b\\s*[(]\\b%s\\b[)]" %(searchName, searchIsOne, searchYear), subs, flags=re.IGNORECASE) regExTwo = re.findall("\\b%s\\b\\s*\\b%s\\b\\s*[(]\\b%s\\b[)]" %(searchName, searchIsTwo, searchYear), subs, flags=re.IGNORECASE) #print("regex: " + str(regEx)) if regEx or regExOne or regExTwo: - logger.fdebug("name: " + str(title)) - logger.fdebug("sub: " + str(subs)) + logger.fdebug("name: " + title) + logger.fdebug("sub: " + subs) logger.fdebug("-----") logger.fdebug("url: " + str(link)) logger.fdebug("-----") #regList.append(title) #regList.append(subs) entries.append({ - 'title': str(subs), + 'title': subs, 'link': str(link) })