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

TypeError: '<' not supported between instances of 'tuple' and 'list' #6

Closed
sentry-io bot opened this issue Apr 25, 2020 · 0 comments
Closed

TypeError: '<' not supported between instances of 'tuple' and 'list' #6

sentry-io bot opened this issue Apr 25, 2020 · 0 comments

Comments

@sentry-io
Copy link

@sentry-io sentry-io bot commented Apr 25, 2020

Sentry Issue: BANANAS-SERVER-2

TypeError: '<' not supported between instances of 'tuple' and 'list'
  File "bananas_server/openttd/tcp_content.py", line 74, in _process_queue
    getattr(self._callback, f"receive_{type.name}")(self.source, **kwargs)
  File "bananas_server/application/bananas_server.py", line 79, in receive_PACKET_CONTENT_CLIENT_INFO_LIST
    if content_entry.min_version and version < content_entry.min_version:
TrueBrain added a commit to TrueBrain/OpenTTD-bananas-server that referenced this issue Apr 25, 2020
Python cannot compare tuples with lists, which is a bit unexpected.
@TrueBrain TrueBrain closed this in 5eeeac4 Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
0 participants
You can’t perform that action at this time.