fix
This commit is contained in:
parent
d1a280bab8
commit
fdbed6ec12
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -96,7 +96,7 @@ class MatrixClient(nio.AsyncClient):
|
||||||
content_type = resp.content_type
|
content_type = resp.content_type
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.warning(
|
self.logger.warning(
|
||||||
f"Failed to download emote {emote}: {e}"
|
f"Failed to download emote {emote_id}: {e}"
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ class MatrixClient(nio.AsyncClient):
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.warning(
|
self.logger.warning(
|
||||||
f"Failed to upload emote {emote}: {e}"
|
f"Failed to upload emote {emote_id}: {e}"
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue