NotAvailable in attilasub and kickass
This commit is contained in:
parent
d54adca470
commit
4c8d78e326
2 changed files with 4 additions and 3 deletions
|
|
@ -73,7 +73,7 @@ class SubtitlesPage(BasePage):
|
|||
subtitle.url = url
|
||||
subtitle.language = "fre"
|
||||
subtitle.nb_cd = nb_cd
|
||||
subtitle.description = "no desc"
|
||||
subtitle.description = NotAvailable.__unicode__()
|
||||
return subtitle
|
||||
|
||||
def iter_subtitles(self,language, pattern):
|
||||
|
|
@ -116,5 +116,5 @@ class SubtitlesPage(BasePage):
|
|||
subtitle.url = url
|
||||
subtitle.language = "fre"
|
||||
subtitle.nb_cd = nb_cd
|
||||
subtitle.description = "no desc"
|
||||
subtitle.description = NotAvailable.__unicode__()
|
||||
yield subtitle
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ class TorrentsPage(BasePage):
|
|||
|
||||
torrent = Torrent(idt, title)
|
||||
torrent.url = url
|
||||
torrent.description = NotAvailable.__unicode__()
|
||||
torrent.filename = parse_qs(urlsplit(url).query).get('title', [None])[0]
|
||||
torrent.size = get_bytes_size(size, u)
|
||||
torrent.seeders = int(seed)
|
||||
|
|
@ -73,7 +74,7 @@ class TorrentPage(BasePage):
|
|||
def get_torrent(self, id):
|
||||
seed = 0
|
||||
leech = 0
|
||||
description = NotAvailable
|
||||
description = NotAvailable.__unicode__()
|
||||
url = NotAvailable
|
||||
magnet = NotAvailable
|
||||
title = NotAvailable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue