mirror of
https://github.com/Thor77/TeamspeakStats.git
synced 2025-07-08 16:38:43 -04:00
Only log online_clients if there are any
at the end of a logfile.
This commit is contained in:
parent
5d9507deb0
commit
6e40555612
1 changed files with 4 additions and 3 deletions
|
@ -148,6 +148,7 @@ def parse_logs(log_glob, ident_map=None, online_dc=True):
|
|||
filter(lambda c: c.connected, clients.values())
|
||||
)
|
||||
|
||||
if online_clients:
|
||||
logger.debug(
|
||||
'Some clients are still connected: %s', online_clients
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue