Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refine code
Browse files Browse the repository at this point in the history
malinkang committed Mar 21, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent c23336c commit b15f838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/weread.py
Original file line number Diff line number Diff line change
@@ -374,7 +374,7 @@ def get_cookie():
id = os.getenv("CC_ID")
password = os.getenv("CC_PASSWORD")
cookie = os.getenv("WEREAD_COOKIE")
print(f"{url} {id} {cookie}")
print(f"cookie = {cookie}")
if url and id and password:
cookie = try_get_cloud_cookie(url, id, password)
if not cookie or not cookie.strip():
@@ -384,7 +384,7 @@ def get_cookie():


def extract_page_id():
print(os.getenv("NOTION_DATABASE_ID"))
print(f"database id = {os.getenv('NOTION_DATABASE_ID')}")
url = os.getenv("NOTION_PAGE", os.getenv("NOTION_DATABASE_ID"))
print(url)
if not url:

0 comments on commit b15f838

Please sign in to comment.