Skip to content

Commit

Permalink
🐛 fix: replace typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kms0219kms authored Nov 17, 2024
1 parent 776500f commit c63fc03
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 @@ -124,9 +124,9 @@ async def upload(self, type: UploadType, message: Message) -> tuple[int, str]:
if x != "0" and x != "" and x != None
]
try:
paths.append(message.author.display_name.split(" ]")[1].replace("🏳 "))
paths.append(message.author.display_name.split(" ]")[1].replace("🏳 ", ""))
except IndexError:
paths.append(message.author.display_name.replace("🏳 "))
paths.append(message.author.display_name.replace("🏳 ", ""))

uploaded.append(
{
Expand Down

0 comments on commit c63fc03

Please sign in to comment.