瀏覽代碼

Fixed log

Gamaliel Espinoza 6 年之前
父節點
當前提交
129177592f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ondemand/service.py

+ 2 - 2
ondemand/service.py

@@ -206,8 +206,8 @@ def process_segment(item, audios=None):
 
 
             ts += match['length'] / 1000
             ts += match['length'] / 1000
 
 
-        log.info('{2} ({3}/{0:%Y-%m-%d-%H:%M:%S%z}) {1}'.format(
-            date,
+        log.info('{2} ({3}/{0}) {1}'.format(
+            os.path.split()[-1],
             ','.join(values),
             ','.join(values),
             item['ad'],
             item['ad'],
             station,
             station,