Spaces:
Sleeping
Sleeping
fix bug
Browse files- 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[
|
| 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:
|