simplify if

This commit is contained in:
Paul Gauthier 2024-11-23 14:15:36 -08:00
parent 12b789fc4e
commit 91daea9e01

View file

@ -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 = {}