File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2689,14 +2689,18 @@ def get_pdf_download_url_for_confluence_cloud(self, url):
26892689 task_state = progress_response .get ("state" )
26902690 if percentage_complete == 100 :
26912691 running_task = False
2692- log .info (f "Task completed - { task_state } " )
2692+ log .info ("Task completed - {task_state}" . format ( task_state = task_state ) )
26932693 if task_state == "FAILED" :
26942694 log .error ("PDF conversion not successful." )
26952695 return None
26962696 log .debug ("Extract task results to download PDF." )
26972697 task_result_url = progress_response .get ("result" )
26982698 else :
2699- log .info (f"{ percentage_complete } % - { task_state } " )
2699+ log .info (
2700+ "{percentage_complete}% - {task_state}" .format (
2701+ percentage_complete = percentage_complete , task_state = task_state
2702+ )
2703+ )
27002704 time .sleep (3 )
27012705 log .debug ("Task successfully done, querying the task result for the download url" )
27022706 # task result url starts with /wiki, remove it.
You can’t perform that action at this time.
0 commit comments