1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Merge pull request #688 from adam111316/hdbits_fix

HDbits fix
This commit is contained in:
echel0n 2014-08-07 22:10:29 -07:00
commit df4f2d11d2

View File

@ -177,17 +177,17 @@ class HDBitsProvider(generic.TorrentProvider):
if show.air_by_date or show.sports:
post_data['tvdb'] = {
'id': show.indexerid,
'season': str(episode.airdate)[:7],
'season': str(season.airdate)[:7],
}
elif show.anime:
post_data['tvdb'] = {
'id': show.indexerid,
'season': "%d" % episode.scene_absolute_number,
'season': "%d" % season.scene_absolute_number,
}
else:
post_data['tvdb'] = {
'id': show.indexerid,
'season': episode.scene_season,
'season': season.scene_season,
}
if search_term: