Browse Source

Fix PublicContrib.is_public() behavior

Was doing the oposite of what is supposed !
Jocelyn Delande 9 years ago
parent
commit
6d3a02b95e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wifiwithme/apps/contribmap/models.py

+ 1 - 1
wifiwithme/apps/contribmap/models.py

@@ -134,7 +134,7 @@ class Contrib(models.Model):
         return merge_intervals(angles)
 
     def is_public(self):
-        return not self.privacy_coordinates
+        return self.privacy_coordinates
 
     def _may_be_public(self, field):
         return field in self.PUBLIC_FIELDS