Skip to content

Commit 5511b1a

Browse files
Update annotations_helper.py
1 parent a04c773 commit 5511b1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Uses-Cases/Annotations/annotations_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class Config:
1313
"""Configuration parameters."""
14-
CREDENTIALS_FILE = Path(r"C:\\Projects\\ASPOSE\\Pdf.Cloud\\Credentials\\credentials.json")
14+
CREDENTIALS_FILE = Path(r".\credentials.json")
1515
LOCAL_FOLDER = Path(r"C:\Samples")
1616
REMOTE_FOLDER = "Your_Temp_Pdf_Cloud"
1717
PDF_DOCUMENT_NAME = "sample.pdf"
@@ -94,4 +94,4 @@ def delete_popup_annotations(self, parent_annotation):
9494
self.pdf_api.delete_annotation(Config.PDF_DOCUMENT_NAME, annotation.id, **args)
9595
logging.info(f"delete_popup_annotations(): popup annotation id = '{annotation.id}' for '{annotation.contents}' deleted in the document '{Config.PDF_DOCUMENT_NAME}'.")
9696
else:
97-
logging.error(f"delete_popup_annotations(): Failed to delete popup annotation in the document. Response code: {response.code}")
97+
logging.error(f"delete_popup_annotations(): Failed to delete popup annotation in the document. Response code: {response.code}")

0 commit comments

Comments
 (0)