From 9691b9291253354cd8d42950648bcdf4e8ba94fc Mon Sep 17 00:00:00 2001 From: Oliwerix Date: Tue, 22 Nov 2022 21:40:09 +0100 Subject: patchlist.py fix --- utils/patchlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/patchlist.py b/utils/patchlist.py index ba9042b..bbdd963 100755 --- a/utils/patchlist.py +++ b/utils/patchlist.py @@ -24,7 +24,7 @@ def parseXML(xml_file): print("Address", "Mfctr", "Model", "Mode", "CNAME", sep="\t") for fixture in fixtures: - fixture_Name = fixture.find('.//qlc:Name').text + fixture_Name = fixture.find('.//qlc:Name', namespaces).text fixture_Universe = int(fixture.find('.//qlc:Universe', namespaces).text)+1 fixture_Address = int(fixture.find('.//qlc:Address', namespaces).text)+1 fixture_Manufacturer = fixture.find('.//qlc:Manufacturer', namespaces).text -- cgit v1.2.3