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