瀏覽代碼

Path fixed

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

+ 1 - 1
ondemand/service.py

@@ -207,7 +207,7 @@ def process_segment(item, audios=None):
             ts += match['length'] / 1000
 
         log.info('{2} ({3}/{0}) {1}'.format(
-            os.path.split()[-1],
+            os.path.split(path)[-1],
             ','.join(values),
             item['ad'],
             station,