Browse Source

Remove breakpoints (oops)

pull/10109/head
dolfies 3 years ago
parent
commit
23fe1092c3
  1. 5
      discord/http.py

5
discord/http.py

@ -266,7 +266,6 @@ class HTTPClient:
bucket = route.bucket
method = route.method
url = route.url
breakpoint()
lock = self._locks.get(bucket)
if lock is None:
@ -583,7 +582,7 @@ class HTTPClient:
if file.description is not None:
attachment['description'] = file.description
attachments.append(attachment)
lol = (
form.append(
{
'name': f'files[{index}]',
'value': file.fp,
@ -591,8 +590,6 @@ class HTTPClient:
'content_type': 'application/octet-stream',
}
)
form.append(lol)
breakpoint()
payload['attachments'] = attachments
form.append({'name': 'payload_json', 'value': utils._to_json(payload)})

Loading…
Cancel
Save