From a4be2cddf2469d9bc93b2b6cd049000b5ac2856c Mon Sep 17 00:00:00 2001 From: adbenitez Date: Wed, 30 Nov 2022 23:11:50 -0500 Subject: [PATCH] remove unused code in rpc.py --- deltachat-rpc-client/src/deltachat_rpc_client/rpc.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/rpc.py b/deltachat-rpc-client/src/deltachat_rpc_client/rpc.py index efbaa0b80..27b52adba 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/rpc.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/rpc.py @@ -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