Browse Source

Syntax error in posting view

Ralfp 12 years ago
parent
commit
2fd4ee8b4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/threads/views/posting.py

+ 1 - 1
misago/threads/views/posting.py

@@ -293,7 +293,7 @@ class PostingView(BaseView):
                         self.request.monitor['posts'] = int(self.request.monitor['posts']) + 1
                         self.forum.posts += 1
 
-                    if self.mode not in ['edit_thread', 'edit_post']
+                    if self.mode not in ['edit_thread', 'edit_post']:
                         self.forum.last_thread = thread
                         self.forum.last_thread_name = thread.name
                         self.forum.last_thread_slug = thread.slug