mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 15:02:11 +03:00
remove unused code in rpc.py
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import asyncio
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
|
||||
import aiohttp
|
||||
@@ -60,7 +59,6 @@ class Rpc:
|
||||
}
|
||||
data = (json.dumps(request) + "\n").encode()
|
||||
self.process.stdin.write(data)
|
||||
event = asyncio.Event()
|
||||
loop = asyncio.get_running_loop()
|
||||
fut = loop.create_future()
|
||||
self.request_events[request_id] = fut
|
||||
|
||||
Reference in New Issue
Block a user