Skip to content

Commit

Permalink
🐛 fix: 변수 지정 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kms0219kms authored Apr 7, 2024
1 parent 805ee77 commit 929a2e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/uploadService.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ async def upload(self, type: UploadType, message: Message) -> tuple[int, str]:
message.content.split("time: ")[1] if type == UploadType.TIME else message.content.split("name: ")[1]
)

row = resv_zzal_names.index(zzal_name)

member_dict_name = (
(
worksheet_data[row]
Expand Down Expand Up @@ -93,8 +95,6 @@ async def upload(self, type: UploadType, message: Message) -> tuple[int, str]:
.replace('"', "_")
)

row = resv_zzal_names.index(zzal_name)

await file.save(join("temp/", f"{message.author.id}_{filename}"))

if filename.endswith(".jpg") or filename.endswith(".png"):
Expand Down

0 comments on commit 929a2e6

Please sign in to comment.