Рефактор

This commit is contained in:
2025-05-25 21:05:52 +04:00
parent c8516125f2
commit 4ef3e1d25f
+2 -2
View File
@@ -96,7 +96,7 @@ class Singleton(type):
return cls._instances[cls]
class Lecture:
def __init__(self, auditorium: str, day_of_week: str, pair_number: str, lecture: str, teacher: str, skip_process: bool = False):
def __init__(self, auditorium: str, day_of_week: str, pair_number: str, lecture: str, teacher: str, regular: bool = True):
self.struct = Structure()
self.auditorium = auditorium
self.day_of_week = day_of_week
@@ -109,7 +109,7 @@ class Lecture:
self.process_time()
if skip_process:
if regular:
self.teacher = self.process_teacher()
if self.teacher == False:
self.complete = False