fix: error with invoices without a title

This commit is contained in:
2026-07-31 11:33:50 +08:00
parent fd7289f589
commit 83225930fc
+1 -1
View File
@@ -543,7 +543,7 @@ def main(driver: WebDriver, logger = logging.getLogger('main')):
driver.switch_to.window(driver.window_handles[2])
item = data[index]
kind = item['kind']
title = re.search(r'O\d+', item['title'])
title = re.search(r'O\d+', item['title'] or '')
number = profile.format(item['number'])
positions = item['positions']
opportunity = None