From b142e8fc31fbef25086ee6c887d985ac41c1aada Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Mon, 18 May 2020 15:31:00 -0400 Subject: [PATCH] accrual: Bugfix last commit. --- conservancy_beancount/reports/accrual.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conservancy_beancount/reports/accrual.py b/conservancy_beancount/reports/accrual.py index f829f11..b0bb982 100644 --- a/conservancy_beancount/reports/accrual.py +++ b/conservancy_beancount/reports/accrual.py @@ -222,7 +222,7 @@ def outgoing_report(groups: PostGroups, else: requestor_name = ( rt_requestor.get('RealName') - or rt_requestor.get('CF.{payment-to}') + or ticket.get('CF.{payment-to}') or '' ) requestor = f'{requestor_name} <{rt_requestor["EmailAddress"]}>'.strip() diff --git a/setup.py b/setup.py index 4968bbe..73df53a 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup setup( name='conservancy_beancount', description="Plugin, library, and reports for reading Conservancy's books", - version='1.0.3', + version='1.0.4', author='Software Freedom Conservancy', author_email='info@sfconservancy.org', license='GNU AGPLv3+',