mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 16:26:31 +03:00
refactor(deltachat-rpc-client): remove print() calls
This commit is contained in:
@@ -54,7 +54,6 @@ class ACFactory:
|
|||||||
account.start_io()
|
account.start_io()
|
||||||
while True:
|
while True:
|
||||||
event = account.wait_for_event()
|
event = account.wait_for_event()
|
||||||
print(event)
|
|
||||||
if event.type == EventType.IMAP_INBOX_IDLE:
|
if event.type == EventType.IMAP_INBOX_IDLE:
|
||||||
break
|
break
|
||||||
return account
|
return account
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ class Rpc:
|
|||||||
self.request_results[response_id] = response
|
self.request_results[response_id] = response
|
||||||
event.set()
|
event.set()
|
||||||
else:
|
else:
|
||||||
print(response)
|
logging.warning("Got a response without ID: %s", response)
|
||||||
except Exception:
|
except Exception:
|
||||||
# Log an exception if the reader loop dies.
|
# Log an exception if the reader loop dies.
|
||||||
logging.exception("Exception in the reader loop")
|
logging.exception("Exception in the reader loop")
|
||||||
|
|||||||
Reference in New Issue
Block a user