Commits

Frederic De Groef  committed 086d6bb

changed init of unique GeholStatus entry

  • Participants
  • Parent commits 18ded67
  • Tags v0.1.3.1

Comments (0)

Files changed (1)

 from google.appengine.ext import db
 
 class GeholStatus(db.Model):
-    is_down = db.BooleanProperty(False)
+    is_down = db.BooleanProperty()
     last_checked = db.DateTimeProperty(auto_now=True)
 
 def create_unique_entry():
     logging.info("Creating unique GeholStatus datastore entry")
     unique = GeholStatus(key_name='unique')
+    unique.is_down = True
     unique.put()
     return unique