diff options
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 5171d9b..527f1ac 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -1252,7 +1252,7 @@ class Mastodon: | |||
1252 | avatar_file_name = "mastodonpyupload_" + mimetypes.guess_extension(avatar_mime_type) | 1252 | avatar_file_name = "mastodonpyupload_" + mimetypes.guess_extension(avatar_mime_type) |
1253 | files["avatar"] = (avatar_file_name, avatar, avatar_mime_type) | 1253 | files["avatar"] = (avatar_file_name, avatar, avatar_mime_type) |
1254 | if not header is None: | 1254 | if not header is None: |
1255 | header_file_name = "mastodonpyupload_" + mimetypes.guess_extension(avatar_mime_type) | 1255 | header_file_name = "mastodonpyupload_" + mimetypes.guess_extension(header_mime_type) |
1256 | files["header"] = (header_file_name, header, header_mime_type) | 1256 | files["header"] = (header_file_name, header, header_mime_type) |
1257 | 1257 | ||
1258 | params = self.__generate_params(params_initial) | 1258 | params = self.__generate_params(params_initial) |