mirror of
https://github.com/moparisthebest/SickRage
synced 2024-08-13 16:53:54 -04:00
Merge branch 'origin/dev'
This commit is contained in:
commit
50a2de3082
@ -330,7 +330,7 @@ class BacklogQueueItem(generic_queue.QueueItem):
|
|||||||
with ThreadPoolExecutor(sickbeard.NUM_OF_THREADS) as executor:
|
with ThreadPoolExecutor(sickbeard.NUM_OF_THREADS) as executor:
|
||||||
for provider in providers:
|
for provider in providers:
|
||||||
didSearch = True
|
didSearch = True
|
||||||
logger.log("Beginning backlog search for [" + self.segment + "] on " + provider.name)
|
logger.log("Beginning backlog search for [" + str(self.segment) + "] on " + provider.name)
|
||||||
executor.submit(
|
executor.submit(
|
||||||
search.searchProviders, self, self.show, self.segment, self.wantedEpisodes, provider,
|
search.searchProviders, self, self.show, self.segment, self.wantedEpisodes, provider,
|
||||||
seasonSearch, False).add_done_callback(snatch_results)
|
seasonSearch, False).add_done_callback(snatch_results)
|
||||||
|
@ -2058,10 +2058,7 @@ class TVEpisode(object):
|
|||||||
# split off the dirs only, if they exist
|
# split off the dirs only, if they exist
|
||||||
name_groups = re.split(r'[\\/]', pattern)
|
name_groups = re.split(r'[\\/]', pattern)
|
||||||
|
|
||||||
if len(name_groups) == 1:
|
return self._format_pattern(name_groups[-1], multi)
|
||||||
return ''
|
|
||||||
else:
|
|
||||||
return self._format_pattern(os.sep.join(name_groups[:-1]), multi)
|
|
||||||
|
|
||||||
def rename(self):
|
def rename(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user