From 5f391a2caaf98825331a3c0d72f9e617825a88ea Mon Sep 17 00:00:00 2001 From: Floke Date: Mon, 26 Jan 2026 19:16:44 +0000 Subject: [PATCH] feat(dev-session): display duration and fix hook [2f488f42] --- notion_commit_hook.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/notion_commit_hook.py b/notion_commit_hook.py index 51abbd17..7916fb02 100644 --- a/notion_commit_hook.py +++ b/notion_commit_hook.py @@ -4,7 +4,8 @@ import sys import json import subprocess -# Fügen Sie das Hauptverzeichnis zum Python-Pfad hinzu, damit wir dev_session importieren können +# Fügen Sie das Projekt-Stammverzeichnis zum Python-Pfad hinzu +# Das ist das Verzeichnis, in dem sich das Hook-Skript befindet sys.path.append(os.path.dirname(os.path.abspath(__file__))) try: @@ -58,4 +59,4 @@ def main(): sys.exit(0) if __name__ == "__main__": - main() + main() \ No newline at end of file