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 Remnote2Obsidian script breaking with blank rem objects #20

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

Conversation

UZ9
Copy link

@UZ9 UZ9 commented Aug 10, 2022

Hey there! I want to thank you for making such a great Remnote-to-Obsidian converter, it certainly saved me a few headaches when moving my notes over. It seems the original script ends up breaking whenever there are untitled blank rem objects in the rem.json output, as it assumes every object in the list is a dictionary. When I checked the JSON, the untitled blank rems are instead in the following array format:

[0]

As these rems are completely empty there really isn't a need for them to be imported over, so I went ahead and added a check to the getAllDocs function to ignore any non-dict objects.

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.

1 participant