Spaces:
Running
Running
Update test.py
Browse files
test.py
CHANGED
@@ -97,7 +97,7 @@ async def auth_google(request: Request):
|
|
97 |
filename = part.get("filename", "untitled.txt")
|
98 |
|
99 |
if data:
|
100 |
-
data_new[filename]=data
|
101 |
# data_new.append({filename:data.encode("UTF-8")})
|
102 |
# Decode base64-encoded attachment data
|
103 |
attachment_content = base64.urlsafe_b64decode(data.encode("UTF-8"))
|
|
|
97 |
filename = part.get("filename", "untitled.txt")
|
98 |
|
99 |
if data:
|
100 |
+
data_new[filename]=data
|
101 |
# data_new.append({filename:data.encode("UTF-8")})
|
102 |
# Decode base64-encoded attachment data
|
103 |
attachment_content = base64.urlsafe_b64decode(data.encode("UTF-8"))
|