Prechádzať zdrojové kódy

Adding hours to debug

Foppe Hemminga 6 rokov pred
rodič
commit
26a0acb3c2
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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: