From 5f999d2a81c62106dc14fe44ca4a3ac085a78de1 Mon Sep 17 00:00:00 2001 From: bernat Date: Thu, 10 Nov 2005 11:58:16 +0100 Subject: [PATCH] On fait remonter le nombre de clients plus souvent darcs-hash:20051110105816-d1718-06a785f3301f79deafd7080d78dc9bfa8324cf14.gz --- wifi/hotspot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wifi/hotspot.py b/wifi/hotspot.py index 26540e37..60c723fe 100755 --- a/wifi/hotspot.py +++ b/wifi/hotspot.py @@ -86,8 +86,7 @@ class Server: if match[0].end < time.gmtime(time.time()-60): self.del_ip(ip) deleted=True - if deleted: - syslog(LOG_INFO | LOG_LOCAL3, "Clients hotspots: %s" % (", ".join(self.list_ips()) or "aucun")) + syslog(LOG_INFO | LOG_LOCAL3, "Clients hotspots: %s" % (", ".join(self.list_ips()) or "aucun")) def daemonize(self): """Passe en arrière plan"""