fix: 修复谷歌统计报错问题

This commit is contained in:
涵曦 2024-09-14 15:08:38 +08:00
parent 07676e8c5d
commit 896eae92ff

View File

@ -60,7 +60,7 @@ class Analytics:
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()