mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 15:22:38 -04:00
Simplify sid comparison
This commit is contained in:
parent
9f40826fb5
commit
aa452abc11
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ def _generate_dacl(user_sid, mode):
|
|||
|
||||
# If user is already system or admins, any ACE defined here would be superseeded by
|
||||
# the full control ACE that will be added after.
|
||||
if str(user_sid) not in [str(system), str(admins)]:
|
||||
if user_sid not in [system, admins]:
|
||||
# Handle user rights
|
||||
user_flags = _generate_windows_flags(analysis['user'])
|
||||
if user_flags:
|
||||
|
|
|
|||
Loading…
Reference in a new issue