diff --git a/clients/client-psutil.py b/clients/client-psutil.py index 0fd8dd8..e339fb8 100755 --- a/clients/client-psutil.py +++ b/clients/client-psutil.py @@ -171,7 +171,7 @@ def _net_speed(): while True: avgrx = 0 avgtx = 0 - for name, stats in psutil.net_io_counters(pernic=True).iteritems(): + for name, stats in psutil.net_io_counters(pernic=True).items(): if "lo" in name or "tun" in name \ or "docker" in name or "veth" in name \ or "br-" in name or "vmbr" in name \