diff --git a/src/services/uploadService.py b/src/services/uploadService.py index df99dde..837b8f1 100644 --- a/src/services/uploadService.py +++ b/src/services/uploadService.py @@ -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] @@ -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"):