Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: liang ding <liangding@liangdeMacBook-Air.local>
  • Loading branch information
liang ding authored and liang ding committed Oct 20, 2020
1 parent 401f3da commit 9600830
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roam_to_git/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def main():
help="Don't git push after commit.")
parser.add_argument("--skip-fetch", action="store_true",
help="Do not download the data from Roam, just update the formatting.")
parser.add_argument("--sleep-duration", type=float, default=2.,
parser.add_argument("--sleep-duration", type=float, default=5.,
help="Duration to wait for the interface. We wait 100x that duration for"
"Roam to load. Increase it if Roam servers are slow, but be careful"
"with the free tier of Github Actions.")
Expand Down
2 changes: 1 addition & 1 deletion roam_to_git/scrapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ async def signin(document, config: Config, sleep_duration=1.):
email_elem = await document.querySelector("input[name='email']")
await email_elem.click()
await email_elem.type(config.user)

await document.waitFor("input[name='email']")
logger.debug("Fill password")
passwd_elem = await document.querySelector("input[name='password']")
await passwd_elem.click()
Expand Down

0 comments on commit 9600830

Please sign in to comment.