Skip to content

Commit 066d291

Browse files
committed
Fixed event images error.
1 parent 69bcb3a commit 066d291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/recnetpy/dataclasses/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async def get_images(self, take: int = 16, skip: int = 0, force: bool = False) -
9797
:param force: If true, fetches new data.
9898
:return: A list of images.
9999
"""
100-
if self.images in None or force:
100+
if self.images is None or force:
101101
self.images = await self.client.images.during_event(self.id, take = take, skip = skip)
102102
return self.images
103103

0 commit comments

Comments
 (0)