This commit is contained in:
Sky O 2024-03-29 18:49:05 +00:00
parent ff5dfc1489
commit 34c00895c6

View File

@ -100,7 +100,7 @@ def get_body_from_form_data(
data = part.data
print("YO SETTING FILE")
else:
match = re.search(r'name="([^"]*)"', header.value)
match = re.search(r'name="([^"]*)"', header.value.decode("utf-8"))
if match:
name = match.group(1)
print("YO GOT NAME", name)