Kaynağa Gözat

Fall tolerance log

Gamaliel Espinoza Macedo 6 yıl önce
ebeveyn
işleme
17103dc39c
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      ondemand/service.py

+ 3 - 2
ondemand/service.py

@@ -170,10 +170,11 @@ def process_segment(item, audios=None, calibration=None):
     station = item['station']
     date = dateutil.parser.parse(item['date'])
 
-    log.info('[process_segment] (th: {}, tl: {}) {}'.format(
+    log.info('[process_segment] (th: {}, tl: {}, ft: {}) {}'.format(
         calibration['threshold'],
         calibration['tolerance'],
-        item
+        calibration['fallTolerance'],
+        item,
     ))
 
     # 1. obtener el audio desde firebase