def __init__(self, file_info): Downloader.__init__(self) self.start = None self.end = None self.file_info = file_info self.file = None self.cal_offset() self.downloaded_byte = 0
def __init__(self, directory): Downloader.__init__(self, QzoneFileName.TO_DOWNLOAD, QzoneFileName.DOWNLOADED, directory)
def __init__(self, directory): Downloader.__init__(self, QzoneFileName.TO_DOWNLOAD, QzoneFileName.DOWNLOADED, os.path.join(directory, QzonePath.PHOTO))
def __init__(self, dir): Downloader.__init__(self, config.TO_DOWNLOAD_FILE, config.DOWNLOADED_FILE, os.path.join(dir, config.SHUOSHUO_PATH))