mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +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()
|
old_config = get_configuration()
|
||||||
|
|
||||||
if old_config['max_players'] != data['max_players'] \
|
if old_config['max_players'] != data['max_players'] \
|
||||||
and data['max_players'] != None:
|
and data['max_players'] is not None:
|
||||||
actions.superuser_run(
|
actions.superuser_run(
|
||||||
'minetest',
|
'minetest',
|
||||||
['configure', '--max_players',
|
['configure', '--max_players',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user