mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix out of order files being sent in webhooks when there are 10 files.
This commit is contained in:
parent
17f343b03e
commit
eddbe27f2e
@ -127,7 +127,7 @@ class WebhookAdapter:
|
||||
multipart = {
|
||||
'payload_json': utils.to_json(payload)
|
||||
}
|
||||
for i, file in enumerate(files, start=1):
|
||||
for i, file in enumerate(files):
|
||||
multipart['file%i' % i] = (file.filename, file.fp, 'application/octet-stream')
|
||||
data = None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user