blob: 18fe239de288961f9baa2505c9b70f828f253dfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/ui/opensnitch/dialogs/stats.py b/ui/opensnitch/dialogs/stats.py
index 738363b..40d2a99 100644
--- a/ui/opensnitch/dialogs/stats.py
+++ b/ui/opensnitch/dialogs/stats.py
@@ -202,7 +202,7 @@ class StatsDialog(QtWidgets.QDialog, uic.loadUiType(DIALOG_UI_PATH)[0]):
if self._address is None:
for uid, hits in self._stats.by_uid.items():
try:
- pw_name = pwd.getpwall(int(uid)).pw_name
+ pw_name = pwd.getpwuid(int(uid)).pw_name
except KeyError:
pw_name = "(UID error)"
finally:
|