Pārlūkot izejas kodu

fixed 1 hour period of audios

Gamaliel Espinoza 7 gadi atpakaļ
vecāks
revīzija
cca4ebf8d7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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))