dragxd commited on
Commit
4ced02e
·
verified ·
1 Parent(s): 5ca2077

Update Devine/plugins/Dev/upload.py

Browse files
Files changed (1) hide show
  1. Devine/plugins/Dev/upload.py +1 -4
Devine/plugins/Dev/upload.py CHANGED
@@ -34,16 +34,13 @@ async def upload_file(client, message, file_path):
34
  data = {
35
  "api_key": API_KEY,
36
  "timestamp": int(time.time()),
37
- <<<<<<< HEAD
38
  "signature": API_SECRET
39
  }
40
  response = requests.post(CLOUDINARY_UPLOAD_URL, data=files)
41
- =======
42
  "signature": API_SECRET
43
  }
44
  response = requests.post(CLOUDINARY_UPLOAD_URL, files=files, data=data)
45
- >>>>>>> c34e5bd (fix: always use valid SUPPORT_CHAT url for inline buttons and config improvements)
46
-
47
  upload_time = round(time.time() - start_time, 2)
48
 
49
  if response.status_code == 200:
 
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)
43
+
 
44
  upload_time = round(time.time() - start_time, 2)
45
 
46
  if response.status_code == 200: