Close log files after parsing

This commit is contained in:
Thor77 2017-05-11 11:32:11 +02:00
parent fec833d876
commit a4c04e34c8
1 changed files with 1 additions and 0 deletions

View File

@ -185,4 +185,5 @@ def _parse_details(log_path, ident_map=None, clients=None, online_dc=True):
'Finished parsing of %s in %s seconds', 'Finished parsing of %s in %s seconds',
log_file.name, time() - start_time log_file.name, time() - start_time
) )
log_file.close()
return clients return clients