Update lib.py
This commit is contained in:
parent
eb4d0890c8
commit
02a0a0a8bd
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ def 학사일정_얻기():
|
||||||
세부_폰트 = ImageFont.truetype(font, 24)
|
세부_폰트 = ImageFont.truetype(font, 24)
|
||||||
|
|
||||||
제목요소 = ImageDraw.Draw(사진)
|
제목요소 = ImageDraw.Draw(사진)
|
||||||
for i, 일정 in enumerate(학사일정.values()):
|
for i, 일정 in enumerate(reversed(list(학사일정.values()))):
|
||||||
if 일정['data']:
|
if 일정['data']:
|
||||||
start_date = datetime.strptime(str(일정['start']), "%Y%m%d")
|
start_date = datetime.strptime(str(일정['start']), "%Y%m%d")
|
||||||
end_date = datetime.strptime(str(일정['end']), "%Y%m%d")
|
end_date = datetime.strptime(str(일정['end']), "%Y%m%d")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue