Skip to content

Commit

Permalink
Fill TimeTableData to 8th period
Browse files Browse the repository at this point in the history
  • Loading branch information
hegelty committed Sep 19, 2024
1 parent 63aa127 commit 8aa5997
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions pycomcigan/timetable.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,16 @@ def __init__(self,
)
)
)
for period in range(original_timetable[grade][cls][day][0] + 1, 9):
data[grade][cls][day].append(
TimeTableData(
period=period,
subject="",
teacher="",
replaced=False,
original=None
)
)
cls += 1
grade += 1

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="pycomcigan",
version="1.2.1",
version="1.3.0",
author="hegelty",
author_email="[email protected]",
description="컴시간알리미 시간표 파싱 라이브러리입니다.",
Expand Down

0 comments on commit 8aa5997

Please sign in to comment.