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

Dev #70

Merged
merged 2 commits into from
Aug 6, 2024
Merged

Dev #70

merged 2 commits into from
Aug 6, 2024

Conversation

RedAtman
Copy link
Owner

@RedAtman RedAtman commented Aug 6, 2024

No description provided.

Add a new method `get_title_body` to the `Note` class to extract the title and body from a note's content. This function helps to improve the handling of note content and simplifies the process of accessing these key components.
The `SIMPLENOTE_SYNC_TIMES_KEY` was not guaranteed to be an integer. This commit handles this case by resetting the sync times to 0 if it is not an integer. This prevents a crash and ensures that the sync process can continue as expected.

The `TypeError` has been commented out, as it is no longer necessary.
@RedAtman RedAtman merged commit 4722ac0 into master Aug 6, 2024
1 check passed
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