Skip to content

Commit

Permalink
rm assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
szn committed Feb 27, 2024
1 parent e0b498c commit 71b7210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/md2cf/utils/confluencemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def get_page_title_by_id(self, page_id: str) -> str:
"""Returns page title by given page_id"""
logger.debug("Getting page title from page id `%s`", page_id)
page = self.get_page_by_id(page_id)
assert not "title" in page, f"Expected page-object while getting page by id, got {page}"
assert "title" in page, f"Expected page-object while getting page by id, got {page}"
return page["title"]

@staticmethod
Expand Down

0 comments on commit 71b7210

Please sign in to comment.