aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/http.py')
-rw-r--r--discord/http.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/discord/http.py b/discord/http.py
index 3f63a75d..a61d0696 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
"""
The MIT License (MIT)
@@ -404,7 +402,7 @@ class HTTPClient:
else:
for index, file in enumerate(files):
form.append({
- 'name': 'file%s' % index,
+ 'name': f'file{index}',
'value': file.fp,
'filename': file.filename,
'content_type': 'application/octet-stream'