summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorOliwerix <oliwerix@gmail.com>2022-11-22 21:40:09 +0100
committerOliwerix <oliwerix@gmail.com>2022-11-22 21:40:09 +0100
commit9691b9291253354cd8d42950648bcdf4e8ba94fc (patch)
tree70d8b04566bb349228243d4e7e8fae9fced10e61 /utils
parentpatch list generation (diff)
downloadluč-9691b9291253354cd8d42950648bcdf4e8ba94fc.tar
luč-9691b9291253354cd8d42950648bcdf4e8ba94fc.tar.gz
luč-9691b9291253354cd8d42950648bcdf4e8ba94fc.tar.bz2
luč-9691b9291253354cd8d42950648bcdf4e8ba94fc.tar.lz
luč-9691b9291253354cd8d42950648bcdf4e8ba94fc.tar.xz
luč-9691b9291253354cd8d42950648bcdf4e8ba94fc.tar.zst
luč-9691b9291253354cd8d42950648bcdf4e8ba94fc.zip
Diffstat (limited to 'utils')
-rwxr-xr-xutils/patchlist.py2
1 files changed, 1 insertions, 1 deletions
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