Commits

pi11  committed 8d47504

mark fix

  • Participants
  • Parent commits 8b38475

Comments (0)

Files changed (1)

File flash/views.py

         mark = m.mark
     except Mark.DoesNotExist:
         mark = "0"
+    except Mark.MultipleObjectsReturned:
+        Mark.objects.filter(flash=g).delete()
+        mark = "0"
+
     return locals()
 
 def ban(request, comment_id):