From a34c11275fef9ff0768a0c26f91a02332d77f40a Mon Sep 17 00:00:00 2001 From: eXenon Date: Fri, 10 Nov 2023 10:50:25 +0100 Subject: [PATCH] groupdict -> group --- cs_upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cs_upload.py b/cs_upload.py index 55ef175..b4f698f 100644 --- a/cs_upload.py +++ b/cs_upload.py @@ -436,7 +436,7 @@ def upload_to_s3(self, form_data: str, trace_file: str) -> None: xmlns = "" match = re.search(r'xmlns="(?P.*?)"', output) if match is not None: - xmlns = f"{{{match.groupdict()['value']}}}" + xmlns = f"{{{match.group('value')}}}" xml_key = xml.find(f"{xmlns}Key") assert ( xml_key is not None