From: Don Armstrong <don@donarmstrong.com>
Date: Mon, 18 Dec 2023 22:26:29 +0000 (-0800)
Subject: just use the year for the path
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;p=scanner_workflow.git

just use the year for the path
---

diff --git a/scanner_workflow.py b/scanner_workflow.py
index ab7b907..1321b13 100755
--- a/scanner_workflow.py
+++ b/scanner_workflow.py
@@ -94,7 +94,7 @@ class ScannerWorkflow:
             str(name),
         )
         if res:
-            return f"{res.group('year')}/{res.group('month')}_{res.group('day')}"
+            return f"{res.group('year')}"
         return ""
 
     def process_pdf(self, pdf_file: Union[Path, str]):