From 694871e931ebdbdf62821aeb44d4abaf1fc51450 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Thu, 25 Oct 2018 20:41:49 +0300 Subject: [PATCH] win32/acls - fix unicode --- pupy/packages/windows/all/pupwinutils/security.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pupy/packages/windows/all/pupwinutils/security.py b/pupy/packages/windows/all/pupwinutils/security.py index 42eeef44..6e8ea76b 100644 --- a/pupy/packages/windows/all/pupwinutils/security.py +++ b/pupy/packages/windows/all/pupwinutils/security.py @@ -1480,11 +1480,11 @@ def getfileowneracls(path): if name: if domain: - trustee = '{}\\{} ({})'.format( + trustee = u'{}\\{} ({})'.format( domain, name, sid ) else: - trustee = '{} ({})'.format( + trustee = u'{} ({})'.format( name, sid )