'Upload sidecar files: cover thumbnails and page count'

def upload_cover(self, path, filename, metadata, filepath):

    try:
        self.upload_kindle_thumbnail(metadata, filepath)
    except:
        import traceback
        traceback.print_exc()
    self.upload_apnx(path, filename, metadata, filepath)
