Fixed a typo (charactar --> character)
This commit is contained in:
parent
d4e3b11072
commit
f6fd324912
@ -201,7 +201,7 @@ class MatrixBotAPI:
|
|||||||
f = open(self.config['character']['avatar'], mode="rb")
|
f = open(self.config['character']['avatar'], mode="rb")
|
||||||
|
|
||||||
avatar = self.client.upload(
|
avatar = self.client.upload(
|
||||||
f, self.config['charactar']['avatar_mime'])
|
f, self.config['character']['avatar_mime'])
|
||||||
self.user.set_avatar_url(avatar)
|
self.user.set_avatar_url(avatar)
|
||||||
|
|
||||||
except FileExistsError:
|
except FileExistsError:
|
||||||
|
Loading…
Reference in New Issue
Block a user