windows "route.exe" is not absolute, and that's ok

This commit is contained in:
Brian Warner 2016-02-26 14:34:36 -08:00
parent dbba482c62
commit b7319f90c8

View File

@ -32,7 +32,8 @@ def find_addresses():
commands = _unix_commands
for (pathtotool, args, regex) in commands:
assert os.path.isabs(pathtotool), pathtotool
if platform != 'win32':
assert os.path.isabs(pathtotool), pathtotool
if not os.path.isfile(pathtotool):
continue
try: