Commit ce8ca35e by Őry Máté

one: fix False typo

parent 6efe1ef5
...@@ -511,7 +511,7 @@ class Instance(models.Model): ...@@ -511,7 +511,7 @@ class Instance(models.Model):
def check_if_is_save_as_done(self): def check_if_is_save_as_done(self):
self.update_state() self.update_state()
if self.state != 'DONE': if self.state != 'DONE':
return false return False
Disk.update() Disk.update()
imgname = "template-%d-%d" % (self.template.id, self.id) imgname = "template-%d-%d" % (self.template.id, self.id)
disks = Disk.objects.filter(name=imgname) disks = Disk.objects.filter(name=imgname)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment