Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix edit-time and infinte loop. #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lkhphuc
Copy link

@lkhphuc lkhphuc commented Feb 3, 2021

Hi, thanks a lot for the script.
I found some error while converting mine database so I figure I would submit a PR.

The first one is the location of 'edit-time'. In some of my page, it's inside the page['children'][0] dict, in some other page it is directly in the page dict. I add a small if else around that.

The second one is infinite loop when reference not found. I haven't dig around the logic around that part yet but just add a break statement seems to work fine for me.

Hope this help.

@jcmoreland
Copy link

Thanks for the break in the uid check. I also needed an empty dict return in the scan method to deal with no 'uid' found.

yatharth pushed a commit to yatharth/Roam2Obsidian that referenced this pull request Sep 25, 2021
Original description: Fix edit-time and infinte loop
See PR for context: renerocksai#2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants