Omkar008 commited on
Commit
d580044
1 Parent(s): 0f607c6

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
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.encode("UTF-8")
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"))