From bcb96b332d85723b2d9821859be4f893791ea483 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 3 Mar 2021 23:58:35 +0300 Subject: app.py: fix a typing bug --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index e852561..020d55a 100755 --- a/app.py +++ b/app.py @@ -225,7 +225,7 @@ class UserInstanceStatusTask(InstanceStatusTask): @staticmethod def su(user): - systemctl = lambda *args: Systemd.su(user.name, Systemctl.user(*args)) + systemctl = lambda *args: Systemd.su(user, Systemctl.user(*args)) return UserInstanceStatusTask(systemctl) -- cgit v1.2.3