diff options
author | Oliwerix <oliwerix@gmail.com> | 2022-11-22 21:40:09 +0100 |
---|---|---|
committer | Oliwerix <oliwerix@gmail.com> | 2022-11-22 21:40:09 +0100 |
commit | 9691b9291253354cd8d42950648bcdf4e8ba94fc (patch) | |
tree | 70d8b04566bb349228243d4e7e8fae9fced10e61 /utils | |
parent | patch list generation (diff) | |
download | luč-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 '')
-rwxr-xr-x | utils/patchlist.py | 2 |
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 |