notha99y commited on
Commit
3eda3dc
·
verified ·
1 Parent(s): 2b52d02
Files changed (1) hide show
  1. src/utils.py +1 -1
src/utils.py CHANGED
@@ -46,7 +46,7 @@ def check_overlap(first_class, second_class):
46
  """
47
  class: (day, start_time, end_time)
48
  """
49
- if type(first_class[0]) != str or type(second_class[1]) != str:
50
  return False
51
 
52
  if first_class[1] is None:
 
46
  """
47
  class: (day, start_time, end_time)
48
  """
49
+ if type(first_class[0]) != str or type(second_class[0]) != str:
50
  return False
51
 
52
  if first_class[1] is None: