Fix PEP8 E713
This commit is contained in:
parent
c4f221fba0
commit
f7115f5f69
8 changed files with 8 additions and 8 deletions
|
|
@ -298,7 +298,7 @@ class TableElement(ListElement):
|
|||
for el in self.el.xpath(self.head_xpath):
|
||||
title = self.cleaner.clean(el).lower()
|
||||
for name, titles in columns.iteritems():
|
||||
if title in titles and not name in self._cols:
|
||||
if title in titles and name not in self._cols:
|
||||
self._cols[name] = colnum
|
||||
try:
|
||||
colnum += int(el.attrib.get('colspan', 1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue