diff --git a/conservancy_beancount/reports/accrual.py b/conservancy_beancount/reports/accrual.py index 5713fee..0f825eb 100644 --- a/conservancy_beancount/reports/accrual.py +++ b/conservancy_beancount/reports/accrual.py @@ -724,7 +724,8 @@ def main(arglist: Optional[Sequence[str]]=None, else: now = datetime.datetime.now() if args.output_file is None: - args.output_file = Path(now.strftime('AgingReport_%Y-%m-%d_%H:%M.ods')) + out_dir_path = config.repository_path() or Path() + args.output_file = out_dir_path / now.strftime('AgingReport_%Y-%m-%d_%H:%M.ods') logger.info("Writing report to %s", args.output_file) out_bin = cliutil.bytes_output(args.output_file, stdout) report = AgingReport(rt_wrapper, out_bin) diff --git a/setup.py b/setup.py index 6996aa3..acbc6e8 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.1.11', + version='1.1.12', author='Software Freedom Conservancy', author_email='info@sfconservancy.org', license='GNU AGPLv3+',