Skip to content

Commit 3ad576c

Browse files
committed
Reformat code
1 parent c8eaea9 commit 3ad576c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

atlassian/confluence.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)