From: Don Armstrong Date: Fri, 24 Feb 2023 00:27:19 +0000 (-0800) Subject: output into a path instead of the same directory X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=10eb2d2bbac61a5e816f8e2ad42ae3ead0e0bb05;p=scanner_workflow.git output into a path instead of the same directory --- diff --git a/scanner_workflow.py b/scanner_workflow.py index be2b9db..e803f9e 100755 --- a/scanner_workflow.py +++ b/scanner_workflow.py @@ -84,21 +84,33 @@ class ScannerWorkflow: ) return name + def pdf_file_path(self, name: str): + res = re.match( + r"(?P[^_]+)_(?P\d{2})(?P\d{2})(?P\d{4})_" + r"(?P