mirror of
				https://github.com/Thor77/TeamspeakStats.git
				synced 2025-11-03 15:22:45 -05:00 
			
		
		
		
	Fix cache not written without data
This commit is contained in:
		
							parent
							
								
									40d851e9d7
								
							
						
					
					
						commit
						4c2a51bc5a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue