Merge pull request #54 from eltociear/patch-1

Fix typo in api.py
This commit is contained in:
t.me/xtekky 2023-04-20 19:12:44 +01:00 committed by GitHub
commit 3c579964ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -368,7 +368,7 @@ class Client:
human_message_id = human_message["node"]["messageId"]
except TypeError:
raise RuntimeError(
f"An unknown error occured. Raw response data: {message_data}")
f"An unknown error occurred. Raw response data: {message_data}")
# indicate that the current message is waiting for a response
self.active_messages[human_message_id] = None