From 23fe1092c3e692f2cfd0e17162c76cacaf6bef66 Mon Sep 17 00:00:00 2001 From: dolfies Date: Tue, 23 Nov 2021 18:01:36 -0500 Subject: [PATCH] Remove breakpoints (oops) --- discord/http.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/discord/http.py b/discord/http.py index 4c6eeed1a..6f10e6a40 100644 --- a/discord/http.py +++ b/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)})