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

Changed DB Query to Skip Encrypted Notes #3

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

Conversation

xlZeroAccesslx
Copy link

If you have encrypted notes in Bear, the bear_export_sync.py script will fail and throw an exception.

Traceback (most recent call last):
 File "xxx/bear_export_sync.py", line 722, in <module>
  main()
 File "xxx/bear_export_sync.py", line 132, in main
  note_count = export_markdown()
 File "xxx/bear_export_sync.py", line 171, in export_markdown
  md_text = row['ZTEXT'].rstrip()

By changing the database query to ignore encrypted notes, I was able to run the script successfully.

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