diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-03 23:58:35 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-03 23:58:35 +0300 |
commit | bcb96b332d85723b2d9821859be4f893791ea483 (patch) | |
tree | 69ff5e604dbcd35f83560b07ef34415e1cea7b3d | |
parent | server.py: return status 500 on error in app.py (diff) | |
download | linux-status-bcb96b332d85723b2d9821859be4f893791ea483.tar.gz linux-status-bcb96b332d85723b2d9821859be4f893791ea483.zip |
app.py: fix a typing bug
-rwxr-xr-x | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |