From cd6053d163b4561687ff151a92c3db7b91f2ada0 Mon Sep 17 00:00:00 2001 From: Joseph Malloch Date: Tue, 31 Oct 2023 13:20:07 -0300 Subject: [PATCH] Bugfix from @aburt2 --- webmapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webmapper.py b/webmapper.py index 3ff1612..3dae3a6 100644 --- a/webmapper.py +++ b/webmapper.py @@ -371,7 +371,7 @@ def get_interfaces(arg): addrs = netifaces.ifaddresses(i) if location in addrs: # Test to see if the interface is actually connected if 'win32' in sys.platform: - ifaceName = win32_get_name_from_guid(connectedInterfaces[i]) + ifaceName = win32_get_name_from_guid(i) if ifaceName != "": connectedInterfaces.append(ifaceName) else: