Skip to content

Conversation

TrueBrain
Copy link
Member

It is currently running on staging, at:

https://servers.staging.openttd.org/

Sometimes it is annoying Python is not lazy in resolving. Owh well,
easy fix ;)

servers = _server_list_cache["servers"]
if filter != "all":
if filter is not None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be just "if filter:".
Unless you want to test startswith("")

Maybe convert "" to None, to make it easier in the template?

Sorry, something went wrong.

@TrueBrain TrueBrain merged commit a8bbd0b into OpenTTD:master Sep 10, 2020
@TrueBrain TrueBrain deleted the bugs_in_prod branch September 10, 2020 09:09
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.

None yet

2 participants