Fix DeprecationWarning
This commit is contained in:
parent
1e8b2a77eb
commit
9f8e5d7942
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class Invoice2017:
|
|||
for key, value in rows_text:
|
||||
if key == 'Issue date':
|
||||
self.invoice_date = self._strpdate(value)
|
||||
recipient_h = table.find('th', text='Recipient')
|
||||
recipient_h = table.find('th', string='Recipient')
|
||||
recipient_cell = recipient_h.find_next_sibling('td')
|
||||
self.payee = next(recipient_cell.stripped_strings)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue