Skip to content

Commit

Permalink
Merge remote branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
amet committed Jan 5, 2011
2 parents 59cb637 + 5c7858d commit f08c2ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def search_subtitles(self, file_original_path, title, tvshow, year, season, epis
subtitles_list = []
max_downloads=1
for matches in re.finditer(subtitle_pattern, content, re.IGNORECASE | re.DOTALL):
print matches.group('id') +' ' +matches.group('title')+' '+ str(matches.group('sync'))+' '+ matches.group('tvshow')+' '+ matches.group('year')+' '+ matches.group('downloads')+' '+ matches.group('lang')+' '+ matches.group('cds')+' '+matches.group('size')
# print matches.group('id') +' ' +matches.group('title')+' '+ str(matches.group('sync'))+' '+ matches.group('tvshow')+' '+ matches.group('year')+' '+ matches.group('downloads')+' '+ matches.group('lang')+' '+ matches.group('cds')+' '+matches.group('size')
file_name = matches.group('sync')
if file_name == None: # if no sync info is found, just use title instead of None
file_name = matches.group('title')
Expand Down

0 comments on commit f08c2ea

Please sign in to comment.