Fix DeprecationWarning

This commit is contained in:
Ben Sturmfels 2025-09-30 22:44:12 +10:00
parent 1e8b2a77eb
commit 9f8e5d7942
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -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)