Skip to content

Commit

Permalink
fix: timetable 잘림현상 수정 (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluefcat committed Mar 24, 2023
1 parent 4b3b33d commit 0b316aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crenata/discord/timetable.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ async def make_timetable_image(results: list[list[Any]], date: datetime) -> Byte
timetable.append(r.ITRT_CNTNT)
day = to_weekday(to_datetime(r.ALL_TI_YMD))

df[day] = pd.Series(timetable)
tmp = pd.DataFrame({day: timetable})
df = pd.concat([df, tmp], axis=1)

df.index += 1
df.fillna("", inplace=True)
Expand Down

0 comments on commit 0b316aa

Please sign in to comment.