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

bug: Fix TypeError at /system due to invalid PostgreSQL values [Closes #3053] #3059

Merged
merged 1 commit into from Mar 25, 2024

Conversation

richid
Copy link
Contributor

@richid richid commented Mar 23, 2024

Description

In #3027 I mistakenly forgot a [0] to index into the resulting tuple from a divmod call. 🤦

Added the index and then also wrapped everything in a try/catch to prevent future issues.

Related Issues:

…TandoorRecipes#3053]

The bug was a missing tuple index introduced in TandoorRecipes#3027. Added the index
and also wrapped everything in a try/catch to prevent future issues.
@vabene1111
Copy link
Collaborator

thank you for looking into this and fixing this 👍

@vabene1111 vabene1111 merged commit 57304f9 into TandoorRecipes:develop Mar 25, 2024
4 checks 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.

'>=' not supported between instances of 'tuple' and 'int'
2 participants