summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrdog233o5 <mr.dog233o5@gmail.com>2023-09-03 00:00:03 +0800
committermrdog233o5 <mr.dog233o5@gmail.com>2023-09-03 00:00:03 +0800
commit1f5417927db7b0345b15702e6f8a4c3d8194b6ec (patch)
treeb623927bc38922c4ae063f9669f5a07ebde0d08d
parent41537ef4a8b7d5f35720ba738e54fd6d1245b8d5 (diff)
cao
-rw-r--r--index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.py b/index.py
index e2a8aab..52be8c7 100644
--- a/index.py
+++ b/index.py
@@ -42,7 +42,7 @@ def handle_post_request():
'content': f"``file opened: {file[0]}``"
}
files = {
- "file" : (file[0],file[1].decode('ascii')) # The picture that we want to send in binary
+ "file" : (file[0],file[1].decode()) # The picture that we want to send in binary
}
requests.post(url, headers=header, data=dbug)#DEBUGGGG=======