From f5fddd03695ba0aebe6219b2afc8b79ac3df2462 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sat, 26 Jan 2019 07:10:53 -0600 Subject: [PATCH] Fixed issues in post displayer dialogs introduced in previous alpha --- src/presenters/postDisplayer.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/presenters/postDisplayer.py b/src/presenters/postDisplayer.py index 6b861e7..81350e0 100644 --- a/src/presenters/postDisplayer.py +++ b/src/presenters/postDisplayer.py @@ -56,6 +56,11 @@ class displayPostPresenter(base.basePresenter): else: self.user_identifier = "owner_id" self.post_identifier = "id" + self.attachments = [] + self.load_images = False + # We'll put images here, so it will be easier to work with them. + self.images = [] + self.imageIndex = 0 result = self.get_post_information() # Stop loading everything else if post was deleted. if result == False: @@ -64,11 +69,6 @@ class displayPostPresenter(base.basePresenter): self.worker = threading.Thread(target=self.load_all_components) self.worker.finished = threading.Event() self.worker.start() - self.attachments = [] - self.load_images = False - # We'll put images here, so it will be easier to work with them. - self.images = [] - self.imageIndex = 0 self.run() def get_comments(self):