fixed copy paste typo. Should be able to set header image now
This commit is contained in:
pare
995de2c6f9
commit
aa57929d1e
S'han modificat 1 arxius amb 1 adicions i 1 eliminacions
|
@ -2136,7 +2136,7 @@ class Mastodon:
|
||||||
|
|
||||||
# Load header, if specified
|
# Load header, if specified
|
||||||
if not header is None:
|
if not header is None:
|
||||||
if header_mime_type is None and (isinstance(avatar, str) and os.path.isfile(header)):
|
if header_mime_type is None and (isinstance(header, str) and os.path.isfile(header)):
|
||||||
header_mime_type = guess_type(header)
|
header_mime_type = guess_type(header)
|
||||||
header = open(header, 'rb')
|
header = open(header, 'rb')
|
||||||
|
|
||||||
|
|
Loading…
Referencia en una nova incidència