Skip to content

Commit

Permalink
fix: 修复谷歌统计报错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxi committed Sep 14, 2024
1 parent 07676e8 commit 896eae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xiaomusic/analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _send_daily_event(self):

def send_play_event(self, name, sec):
try:
self._send_play_event()
self._send_play_event(name, sec)
except Exception as e:
self.log.warning(f"analytics send_play_event failed {e}")
self.init()
Expand Down

0 comments on commit 896eae9

Please sign in to comment.