windows "route.exe" is not absolute, and that's ok
This commit is contained in:
		
							parent
							
								
									dbba482c62
								
							
						
					
					
						commit
						b7319f90c8
					
				| 
						 | 
					@ -32,6 +32,7 @@ def find_addresses():
 | 
				
			||||||
        commands = _unix_commands
 | 
					        commands = _unix_commands
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    for (pathtotool, args, regex) in commands:
 | 
					    for (pathtotool, args, regex) in commands:
 | 
				
			||||||
 | 
					        if platform != 'win32':
 | 
				
			||||||
            assert os.path.isabs(pathtotool), pathtotool
 | 
					            assert os.path.isabs(pathtotool), pathtotool
 | 
				
			||||||
        if not os.path.isfile(pathtotool):
 | 
					        if not os.path.isfile(pathtotool):
 | 
				
			||||||
            continue
 | 
					            continue
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user