def remove(self): """ Removes the file associated with the Humble Bundle download and any accompanying MD5 file. :return: None """ if os.path.exists(self.full_filename): os.remove(self.full_filename) HumbleHash.remove_md5file(self.full_filename)
def local_md5(self): """ Returns the MD5 of the local file. :return: The checksum for the local file. """ if os.path.exists(self.full_filename): return HumbleHash.checksum(self.full_filename) else: return ""