From 14ed66aad75b53951cf23d05bb51eedb0d54ffd9 Mon Sep 17 00:00:00 2001 From: Tomuxs Date: Sat, 9 Aug 2025 04:24:16 +0200 Subject: [PATCH] Added empty Post constructor --- py34/post.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/py34/post.py b/py34/post.py index cd8550a..2e34f69 100644 --- a/py34/post.py +++ b/py34/post.py @@ -20,6 +20,10 @@ class Post: self._image: ImageFile | None = None + def empty(id: int) -> "Post": + return Post(id, 0, "00", [], b"") + + def get_thumbnail(self) -> ImageFile: if self._thumbnail is not None: return self._thumbnail