1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-02-20 21:16:51 +00:00

FIX:(#1479) Incomplete comparisons for search results from 32P when using auth mode

This commit is contained in:
evilhero 2016-12-07 02:47:18 -05:00
parent 65b52e0b0d
commit e6a0f69767

View file

@ -244,7 +244,8 @@ class info32p(object):
as_d = filechecker.FileChecker()
as_dinfo = as_d.dynamic_replace(torrentname)
seriesresult = as_dinfo['mod_seriesname']
seriesresult = re.sub('\|','', as_dinfo['mod_seriesname']).strip()
#seriesresult = as_dinfo['mod_seriesname']
logger.info('searchresult: ' + seriesresult + ' --- ' + mod_series + '[' + publisher_search + ']')
if seriesresult == mod_series:
logger.info('[MATCH] ' + torrentname + ' [' + str(torrentid) + ']')
@ -257,7 +258,7 @@ class info32p(object):
as_tinfo = as_t.dynamic_replace(tmp_torrentname)
logger.info('tmp_torrentname:' + tmp_torrentname)
logger.info('as_tinfo:' + as_tinfo['mod_seriesname'])
if as_tinfo['mod_seriesname'] == mod_series:
if re.sub('\|', '', as_tinfo['mod_seriesname']).strip() == mod_series:
logger.info('[MATCH] ' + torrentname + ' [' + str(torrentid) + ']')
pdata.append({"id": torrentid,
"series": torrentname})