diff options
Diffstat (limited to 'webapp/polls/models.py')
-rw-r--r-- | webapp/polls/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/polls/models.py b/webapp/polls/models.py index be917cc..9402c94 100644 --- a/webapp/polls/models.py +++ b/webapp/polls/models.py @@ -1323,7 +1323,7 @@ class Structure(AbstractObject, ComponentStructure): def is_read_only(self): """Tells if the structure can be modified.""" poll = self.poll - return poll.has_result() + return not poll.is_open() or poll.has_result() class NodePollResult(object): |