Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kytpbs committed Jul 17, 2024
1 parent 536770d commit 63c64f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# https://docs.docker.com/engine/reference/builder/

ARG PYTHON_VERSION=3.11.5
FROM python:${PYTHON_VERSION}-slim as base
FROM python:${PYTHON_VERSION}-slim AS base

# Prevents Python from writing pyc files.
ENV PYTHONDONTWRITEBYTECODE=1
Expand Down
2 changes: 1 addition & 1 deletion src/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ async def on_message_delete(self, message: discord.Message):
if message.attachments is not None:
for attachment in message.attachments:
file = file_handeler.get_deleted_attachment(attachment)

if file is None:
logging.info("Attachment not found: %s", attachment.filename)
continue
Expand Down

0 comments on commit 63c64f3

Please sign in to comment.