Explorar el Código

Adding hours to debug

Foppe Hemminga hace 6 años
padre
commit
26a0acb3c2
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      _bs.py

+ 2 - 2
_bs.py

@@ -114,8 +114,8 @@ def get_meta_data(this_data, this_venue):
             # print(times[1])
         match = close_regex.search(this_meta_data)
         utctime = datetime.datetime.utcnow()
-        if (utctime.hour == 15 and utctime.minute > 49) or \
-            (utctime.hour == 16 and utctime.minute < 11):
+        if (utctime.hour in [15,16,17,18] and utctime.minute > 49) or \
+            (utctime.hour in [16,17,18,19] and utctime.minute < 11):
             print_it = True
             print('utctime: {}'.format(utctime))
         if match: