Set offer to None by default in Topic

This commit is contained in:
Dave Gallant
2024-02-18 20:28:24 -05:00
parent 5d2a775b5f
commit 3eb840fd03

View File

@@ -17,6 +17,7 @@ class Topic:
self.title = title
self.post_time = post_time
self.web_path = web_path
self.offer = None
if offer:
self.offer = Offer(**offer)