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

Use Date.no_date() instead of None for Task.date_due #1085

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

gycsaba96
Copy link
Contributor

Fixes #1068

In some cases, None was used instead of Date.no_date(), which caused a crash when sorting the task list. These changes follow the already existing type hints and comments.

In some cases, None was used instead of Date.no_date(),
which caused a crash when sorting the task list.

This fixes GitHub issue getting-things-gnome#1068
@diegogangl
Copy link
Contributor

Nice catch, thanks!

@diegogangl diegogangl merged commit 13870dd into getting-things-gnome:master Apr 13, 2024
1 check passed
@diegogangl diegogangl added the bug label Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'
2 participants