summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/non-profit-audit-reports/csv2ods.py2
-rwxr-xr-xtest/LedgerHarness.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/non-profit-audit-reports/csv2ods.py b/contrib/non-profit-audit-reports/csv2ods.py
index d2eda740..84a68e33 100755
--- a/contrib/non-profit-audit-reports/csv2ods.py
+++ b/contrib/non-profit-audit-reports/csv2ods.py
@@ -169,7 +169,7 @@ def csv2ods(csvname, odsname, encoding='', singleFileDirectory=None, knownChecks
print(f'WARNING: link {val} DOES NOT EXIST at {linkpath}')
if verbose:
if os.path.exists(linkpath):
- print('relative link {val} EXISTS at {linkpath}')
+ print(f'relative link {val} EXISTS at {linkpath}')
else:
if val == "pagebreak":
doc.sheets[doc.sheet_index].set_sheet_config(('row', row), style_pagebreak)
diff --git a/test/LedgerHarness.py b/test/LedgerHarness.py
index e2c96894..95d0fe45 100755
--- a/test/LedgerHarness.py
+++ b/test/LedgerHarness.py
@@ -55,10 +55,10 @@ class LedgerHarness:
def __init__(self, ledger, sourcepath, verify=False, gmalloc=False, python=False):
if not ledger.is_file():
- print("Cannot find ledger at '{ledger}'", file=sys.stderr)
+ print(f"Cannot find ledger at '{ledger}'", file=sys.stderr)
sys.exit(1)
if not sourcepath.is_dir():
- print("Cannot find source path at '{sourcepath}'", file=sys.stderr)
+ print(f"Cannot find source path at '{sourcepath}'", file=sys.stderr)
sys.exit(1)
self.ledger = ledger.resolve()