Fixed a typo (charactar --> character)

This commit is contained in:
Dennis Potter 2019-01-12 22:35:16 +01:00
parent d4e3b11072
commit f6fd324912

View File

@ -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: