diff --git a/plinth/modules/users/__init__.py b/plinth/modules/users/__init__.py index 3a001d020..f38629149 100644 --- a/plinth/modules/users/__init__.py +++ b/plinth/modules/users/__init__.py @@ -57,7 +57,7 @@ def init(): def setup(helper, old_version=None): """Install and configure the module.""" helper.install(managed_packages) - if old_version is None: + if not old_version: helper.call('post', actions.superuser_run, 'users', ['first-setup']) helper.call('post', actions.superuser_run, 'users', ['setup'])