def on_zone_create(self):
    thread = threading.Thread(target=self.create_image)
    thread.start()
def on_zone_create(self):
    thread = threading.Thread(target=self.create_image)
    thread.start()