Commits

Marc-Alexandre Chan committed 2295603

Fixed error in SuggestionThread.set_posted (post_time attrib set instead of time)

Comments (0)

Files changed (1)

         self.status = self.STATUS_ACTIVE
         self.r_post_id = post_id
         try:
-            self.post_time = datetime.utcfromtimestamp(post_time)
+            self.time = datetime.utcfromtimestamp(post_time)
         except ValueError:
-            self.post_time = post_time
+            self.time = post_time
 
     def set_archived(self):
         """ Sets status as archived. """