1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-04 18:22:26 +00:00

fix for windows

This commit is contained in:
Peter Bieringer 2025-06-29 19:53:33 +02:00
parent a4698a4475
commit 56e084f74c

View file

@ -237,6 +237,6 @@ def user_groups_as_string():
groups.append("%s(%d)" % (gid, gid))
s = "user=%s(%d) groups=%s" % (username, euid, ','.join(groups))
else:
username = getpass.getuser()
username = os.getlogin()
s = "user=%s" % (username)
return s