Skip to content

Fixed: KijkNL TypeError when epgDate is null in GraphQL response#1948

Closed
oliv3r wants to merge 1 commit intoretrospect-addon:masterfrom
oliv3r:kijkepg
Closed

Fixed: KijkNL TypeError when epgDate is null in GraphQL response#1948
oliv3r wants to merge 1 commit intoretrospect-addon:masterfrom
oliv3r:kijkepg

Conversation

@oliv3r
Copy link
Contributor

@oliv3r oliv3r commented Mar 6, 2026

The epgDate field in the MOVIE query result can be null (None). The previous check 'if "epgDate" in result_set' passes even when the value is None, causing an unsupported operand TypeError when dividing None by 1000 to convert to a POSIX timestamp.

The epgDate field in the MOVIE query result can be null (None).
The previous check 'if "epgDate" in result_set' passes even when
the value is None, causing an unsupported operand TypeError when
dividing None by 1000 to convert to a POSIX timestamp.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 7, 2026

@basrieter
Copy link
Collaborator

@oliv3r Could you also rebase this one?

@basrieter
Copy link
Collaborator

I already fixed this in master. So this PR is not longer needed.

@basrieter basrieter closed this Mar 9, 2026
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.

2 participants