diff --git a/tsstats/log.py b/tsstats/log.py index d86a057..5b3bf43 100644 --- a/tsstats/log.py +++ b/tsstats/log.py @@ -112,7 +112,7 @@ def _parse_details(log_path, ident_map=None, clients=None, online_dc=True): :return: parsed clients :rtype: tsstats.client.Clients ''' - if not clients: + if clients is None: clients = Clients(ident_map) log_file = open(log_path) # process lines