mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-30 19:06:21 +02:00
Fix async problem on text load (#191)
This commit is contained in:
parent
26865a515c
commit
5770af51ef
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ class Api:
|
|||
# Text is base64 encoded
|
||||
text = base64.b64decode(data["text"]).decode(charset)
|
||||
|
||||
resp = asyncio.to_thread(
|
||||
resp = await asyncio.to_thread(
|
||||
self.text_out.send,
|
||||
None,
|
||||
TextDocument(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue