浏览代码

fixed 1 hour period of audios

Gamaliel Espinoza 7 年之前
父节点
当前提交
cca4ebf8d7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ondemand/service.py

+ 1 - 1
ondemand/service.py

@@ -153,7 +153,7 @@ def iterate_audios(dt, station):
     the the date and itself plus 5 minutes;
     station must match too """
     from_time = time.mktime(dt.timetuple())
-    to_time = from_time + 5 * 60
+    to_time = from_time + 3600
 
     print('from {} to {}'.format(from_time, to_time))