From fde1097e391b9ec0c261f1e91bd203232b3fbcb3 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 5 Jan 2024 01:59:45 +0100 Subject: [PATCH] Improve accounting scripts. --- ledger.py | 47 ++++++++++++++++++++++++++-------------- plomlib.py | 27 +++++++++++++---------- todo.py | 31 ++++++++++++++++---------- todo_templates/day.html | 16 ++++++++++---- todo_templates/task.html | 1 + todo_templates/todo.html | 1 + 6 files changed, 80 insertions(+), 43 deletions(-) diff --git a/ledger.py b/ledger.py index 36cca98..0ef3d44 100755 --- a/ledger.py +++ b/ledger.py @@ -6,7 +6,7 @@ from urllib.parse import parse_qs, urlparse from plomlib import PlomDB, PlomException, run_server, PlomHandler server_port = 8082 -db_path = '/home/plom/org/ledger2023.dat' +db_path = '/home/plom/org/ledger2024.dat' html_head = """