a lot of pyflakes and pylint fixes
This commit is contained in:
parent
28f622e071
commit
404d7290ba
43 changed files with 94 additions and 13 deletions
|
|
@ -167,6 +167,7 @@ class TorrentsPage(BasePage):
|
|||
|
||||
div = self.document.getroot().cssselect('div#files_%s' % torrent.id)
|
||||
if div:
|
||||
torrent.files = []
|
||||
for tr in div[0].find('table'):
|
||||
if tr.attrib.get('class', None) != 'colhead_dark':
|
||||
torrent.files.append(tr.find('td').text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue