mirror of https://github.com/n1nj4sec/pupy.git
win32/acls - fix unicode
This commit is contained in:
parent
cb3be0a6c0
commit
694871e931
|
@ -1480,11 +1480,11 @@ def getfileowneracls(path):
|
||||||
|
|
||||||
if name:
|
if name:
|
||||||
if domain:
|
if domain:
|
||||||
trustee = '{}\\{} ({})'.format(
|
trustee = u'{}\\{} ({})'.format(
|
||||||
domain, name, sid
|
domain, name, sid
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
trustee = '{} ({})'.format(
|
trustee = u'{} ({})'.format(
|
||||||
name, sid
|
name, sid
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue