taslim19 commited on
Commit
3cd2f05
·
1 Parent(s): 4ced02e

fix: correct indentation in upload_file data dictionary

Browse files
Files changed (1) hide show
  1. Devine/plugins/Dev/upload.py +0 -3
Devine/plugins/Dev/upload.py CHANGED
@@ -34,9 +34,6 @@ async def upload_file(client, message, file_path):
34
  data = {
35
  "api_key": API_KEY,
36
  "timestamp": int(time.time()),
37
- "signature": API_SECRET
38
- }
39
- response = requests.post(CLOUDINARY_UPLOAD_URL, data=files)
40
  "signature": API_SECRET
41
  }
42
  response = requests.post(CLOUDINARY_UPLOAD_URL, files=files, data=data)
 
34
  data = {
35
  "api_key": API_KEY,
36
  "timestamp": int(time.time()),
 
 
 
37
  "signature": API_SECRET
38
  }
39
  response = requests.post(CLOUDINARY_UPLOAD_URL, files=files, data=data)