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:
parent
a4698a4475
commit
56e084f74c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue