mirror of
				https://github.com/devine-dl/devine.git
				synced 2025-11-04 03:44:49 +00:00 
			
		
		
		
	Ignore "aria2 will resume download" logs
These only happen if we intentionally cancel the process, or failed. However, this is something that is generally obvious given the args, and when cancelling a wall of these logs would appear.
This commit is contained in:
		
							parent
							
								
									fa84ef53e7
								
							
						
					
					
						commit
						cbd796463d
					
				@ -133,6 +133,8 @@ async def aria2c(
 | 
			
		||||
                        gid, status, avg_speed, path_or_uri = line.split("|")
 | 
			
		||||
                        progress(total=100, completed=100, downloaded=avg_speed.strip())
 | 
			
		||||
                    elif not is_dl_summary:
 | 
			
		||||
                        if "aria2 will resume download if the transfer is restarted" in line:
 | 
			
		||||
                            continue
 | 
			
		||||
                        aria_log_buffer += f"{line.strip()}\n"
 | 
			
		||||
 | 
			
		||||
            if aria_log_buffer:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user