From 91daea9e010e4bc66e3a50edffee147993a15172 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 23 Nov 2024 14:15:36 -0800 Subject: [PATCH] simplify if --- aider/analytics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/analytics.py b/aider/analytics.py index c449a339a..72b7801ba 100644 --- a/aider/analytics.py +++ b/aider/analytics.py @@ -159,7 +159,7 @@ class Analytics: return None def event(self, event_name, main_model=None, **kwargs): - if not (self.mp or self.ph) and not self.logfile: + if not self.mp and not self.ph and not self.logfile: return properties = {}