mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
fix: Add early return if self.mp is not set
This commit is contained in:
parent
f563544761
commit
a6282818db
1 changed files with 15 additions and 13 deletions
|
@ -42,7 +42,9 @@ class Analytics:
|
|||
return new_uuid
|
||||
|
||||
def event(self, event_name, properties=None, **kwargs):
|
||||
if self.mp:
|
||||
if not self.mp:
|
||||
return
|
||||
|
||||
if properties is None:
|
||||
properties = {}
|
||||
properties.update(kwargs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue