Explorar el Código

fixed 1 hour period of audios

Gamaliel Espinoza hace 7 años
padre
commit
cca4ebf8d7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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))