From b7319f90c878ec5ebc5b5a2233a7e1c26dac350a Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 26 Feb 2016 14:34:36 -0800 Subject: [PATCH] windows "route.exe" is not absolute, and that's ok --- src/wormhole/util/ipaddrs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wormhole/util/ipaddrs.py b/src/wormhole/util/ipaddrs.py index 723c785..0a26ea4 100644 --- a/src/wormhole/util/ipaddrs.py +++ b/src/wormhole/util/ipaddrs.py @@ -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: