diff options
Diffstat (limited to 'psutil/_pswindows.py')
-rw-r--r-- | psutil/_pswindows.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_pswindows.py b/psutil/_pswindows.py index 15713eee..92c333d8 100644 --- a/psutil/_pswindows.py +++ b/psutil/_pswindows.py @@ -335,7 +335,7 @@ class WindowsService(object): except WindowsError as err: if err.errno in ACCESS_DENIED_SET: raise AccessDenied(msg="service %r is not querable (not " - "enough privileges)" % self.name()) + "enough privileges)" % self._name) else: raise |