Skip to content

Commit c51b9df

Browse files
committed
Confluence: make ignore for decode response
As that for now that method used only for tracking of exporting status
1 parent f5a857d commit c51b9df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atlassian/confluence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2787,7 +2787,7 @@ def get_pdf_download_url_for_confluence_cloud(self, url):
27872787
headers = self.form_token_headers
27882788
log.info("Initiate PDF export from Confluence Cloud")
27892789
response = self.get(url, headers=headers, not_json_response=True)
2790-
response_string = response.decode(encoding="utf-8", errors="strict")
2790+
response_string = response.decode(encoding="utf-8", errors="ignore")
27912791
task_id = response_string.split('name="ajs-taskId" content="')[1].split('">')[0]
27922792
poll_url = "/services/api/v1/task/{0}/progress".format(task_id)
27932793
while running_task:

0 commit comments

Comments
 (0)