Skip to content

Commit 0040466

Browse files
committed
Show URL in upload log
1 parent 91fb5ca commit 0040466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_notion_scripts/upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def main(
154154
(page,) = pages_matching_title
155155
else:
156156
page = session.create_page(parent=parent, title=title)
157-
sys.stdout.write(f"Created new page: {title} (ID: {page.id})\n")
157+
sys.stdout.write(f"Created new page: {title} ({page.url})\n")
158158

159159
if icon:
160160
page.icon = Emoji(emoji=icon)

0 commit comments

Comments
 (0)