-
- Downloads
Use getpass.getuser() instead of os.getlogin() since we are a service.
os.getlogin() doesn't work when launched by systemd since there's no login terminal to get the password from. https://linux.dio.net/man/3/getlogin
Loading
Please register or sign in to comment