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