'Initialize a new instance of this class
:param parent: An instance of :class:`~tui.curses_d.CursesDaemon`
class to get configuration with.
:type parent: :class:`~tui.curses_d.CursesDaemon`'

def __init__(self, parent):

    mirror_id = parent.settings[0][1]
    mirror = parent.settings[0][2][mirror_id]
    self.url = (mirror['update'] + parent.filename)
    self.path = ('./' + parent.filename)
    self.tmp_path = (self.path + '.download')
    self.file_size = parent._update['size']
    self.parent = parent
