aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGareth Dunstone <[email protected]>2020-01-31 11:45:58 +1100
committerGareth Dunstone <[email protected]>2020-01-31 11:45:58 +1100
commitaa57929d1e9484fb2b4c0a675efae12547ddc8d0 (patch)
tree8e67d07823c72756ad0396f64c9596deb551044d
parent995de2c6f948035732e6e6658ca2a605796d6e90 (diff)
downloadmastodon.py-aa57929d1e9484fb2b4c0a675efae12547ddc8d0.tar.gz
fixed copy paste typo. Should be able to set header image now
-rw-r--r--mastodon/Mastodon.py2
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
Powered by cgit v1.2.3 (git 2.41.0)