]> git.donarmstrong.com Git - scanner_workflow.git/blobdiff - scanner_workflow.py
just use the year for the path
[scanner_workflow.git] / scanner_workflow.py
index ab7b907c877007c63fde67af1e261708aef053c5..1321b132380c752f0624dd9d71d6d756918b58a3 100755 (executable)
@@ -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]):