mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
minetest: Fix flake8 error
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
d63a4e5b3c
commit
b2d5646291
@ -62,7 +62,7 @@ class MinetestServiceView(ServiceView): # pylint: disable=too-many-ancestors
|
||||
old_config = get_configuration()
|
||||
|
||||
if old_config['max_players'] != data['max_players'] \
|
||||
and data['max_players'] != None:
|
||||
and data['max_players'] is not None:
|
||||
actions.superuser_run(
|
||||
'minetest',
|
||||
['configure', '--max_players',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user