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: