summaryrefslogtreecommitdiffstats
path: root/glances/plugins/glances_ports.py
diff options
context:
space:
mode:
Diffstat (limited to 'glances/plugins/glances_ports.py')
-rw-r--r--glances/plugins/glances_ports.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glances/plugins/glances_ports.py b/glances/plugins/glances_ports.py
index b2db43a9..069fd59c 100644
--- a/glances/plugins/glances_ports.py
+++ b/glances/plugins/glances_ports.py
@@ -82,7 +82,7 @@ class Plugin(GlancesPlugin):
if self._thread is None:
thread_is_running = False
else:
- thread_is_running = self._thread.isAlive()
+ thread_is_running = self._thread.is_alive()
if self.timer_ports.finished() and not thread_is_running:
# Run ports scanner
self._thread = ThreadScanner(self.stats)