Fix cache not written without data
This commit is contained in:
parent
40d851e9d7
commit
4c2a51bc5a
|
@ -177,5 +177,5 @@ def parse_logs(log_glob, ident_map=None, online_dc=True, cache_path=None):
|
||||||
if len(clients) >= 1:
|
if len(clients) >= 1:
|
||||||
# assemble Server-obj and yield
|
# assemble Server-obj and yield
|
||||||
yield Server(virtualserver_id, clients)
|
yield Server(virtualserver_id, clients)
|
||||||
if cache:
|
if cache is not None:
|
||||||
cache.write()
|
cache.write()
|
||||||
|
|
Loading…
Reference in New Issue