diff --git a/tsstats/log.py b/tsstats/log.py index 4cd996c..2cced0a 100644 --- a/tsstats/log.py +++ b/tsstats/log.py @@ -177,5 +177,5 @@ def parse_logs(log_glob, ident_map=None, online_dc=True, cache_path=None): if len(clients) >= 1: # assemble Server-obj and yield yield Server(virtualserver_id, clients) - if cache: + if cache is not None: cache.write()