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

KeyError when uninitialized -- blocking initial sync? #25

Open
dustykline opened this issue Aug 5, 2024 · 1 comment
Open

KeyError when uninitialized -- blocking initial sync? #25

dustykline opened this issue Aug 5, 2024 · 1 comment

Comments

@dustykline
Copy link

Hey, thanks for the great workflow! The line here throws a KeyError. I didn't dissect the stack enough to follow exactly what myLabels represents here, but it seems like it's probably some kind of placeholder the first time through before the first Todoist refresh has succeeded? This was blocking initial syncing for me. I changed it to use myLabels.get('is_deleted', False) locally (and did the same on the next L102), and that allowed me to sync up.

@giovannicoppola
Copy link
Owner

thanks for the report @dustykline! Did you have any labels in Todoist?

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

No branches or pull requests

2 participants