diff options
author | Gareth Dunstone <[email protected]> | 2020-01-31 11:45:58 +1100 |
---|---|---|
committer | Gareth Dunstone <[email protected]> | 2020-01-31 11:45:58 +1100 |
commit | aa57929d1e9484fb2b4c0a675efae12547ddc8d0 (patch) | |
tree | 8e67d07823c72756ad0396f64c9596deb551044d /mastodon | |
parent | 995de2c6f948035732e6e6658ca2a605796d6e90 (diff) | |
download | mastodon.py-aa57929d1e9484fb2b4c0a675efae12547ddc8d0.tar.gz |
fixed copy paste typo. Should be able to set header image now
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 393d021..46a1b56 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -2136,7 +2136,7 @@ class Mastodon: | |||
2136 | 2136 | ||
2137 | # Load header, if specified | 2137 | # Load header, if specified |
2138 | if not header is None: | 2138 | if not header is None: |
2139 | if header_mime_type is None and (isinstance(avatar, str) and os.path.isfile(header)): | 2139 | if header_mime_type is None and (isinstance(header, str) and os.path.isfile(header)): |
2140 | header_mime_type = guess_type(header) | 2140 | header_mime_type = guess_type(header) |
2141 | header = open(header, 'rb') | 2141 | header = open(header, 'rb') |
2142 | 2142 | ||