pytask/taskapp/views.py
changeset 119 ec7f2f4256f5
parent 118 f88135529c74
child 122 b4988ede9e3d
--- a/pytask/taskapp/views.py	Sun Jan 09 11:25:08 2011 +0530
+++ b/pytask/taskapp/views.py	Sun Jan 09 11:29:10 2011 +0530
@@ -167,7 +167,8 @@
 
     task_claimable = True if task.status in ["OP", "WR"] else False
     can_claim = True if task_claimable and ( not has_claimed )\
-                        and ( not is_reviewer ) else False
+                        and ( not is_reviewer ) and (not is_creator ) \
+                        else False
 
     old_claims = task.claims.all()