def __init__(self, thread_comm, parent_running): Thread.__init__(self) self.setDaemon(True) self.photopull = Photopull(thread_comm, parent_running)