This commit is contained in:
Jylpah committed 2018-10-02 14:49:14 +08:00
1 parent faac103da0
commit 4bfe277dbf
1 file changed
+1 -1
+1 -1
View File
@@ -18,4 +18,4 @@ url='https://wotinspector.com/api/replay/upload?title=' + title + '&details=full
with open(filename,'rb') as f:
payload = {'file' : (filename, base64.b64encode(f.read()))}
r = requests.post(url, data=payload)
print(r.json())
print(r.json())