mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 18:29:19 +02:00
Merge pull request #646 from obestwalter/master
Make intention clear, rather than work by accident
This commit is contained in:
commit
8082a69abe
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ class EventLogger:
|
||||||
|
|
||||||
def _log_event(self, evt_name, data1, data2):
|
def _log_event(self, evt_name, data1, data2):
|
||||||
# don't show events that are anyway empty impls now
|
# don't show events that are anyway empty impls now
|
||||||
if evt_name in ("DC_EVENT_GET_STRING"):
|
if evt_name == "DC_EVENT_GET_STRING":
|
||||||
return
|
return
|
||||||
if self._debug:
|
if self._debug:
|
||||||
evpart = "{}({!r},{!r})".format(evt_name, data1, data2)
|
evpart = "{}({!r},{!r})".format(evt_name, data1, data2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue