Skip to content

Commit afc2a7f

Browse files
committed
Merge branch 'main' of https://github.com/PH-Tools/PHX
2 parents a98acc6 + 93518e9 commit afc2a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PHX/from_WUFI_XML/read_WUFI_XML_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def xml_to_dict(element: etree._Element, _level: int = 0) -> Dict[Union[List, st
5757
# It is finally an actual data item
5858
d[child.tag] = Tag(child.text, child.tag, child.attrib) # .text
5959
elif _is_list_element(child):
60-
# -- Fucking WUFI... sometimes the unit data is up at the parent
60+
# -- Oy... WUFI... sometimes the unit data is up at the parent
6161
if "unit" in getattr(child, "attrib", ""):
6262
for _ in child:
6363
_.attrib["unit"] = child.attrib.get("unit", "")

0 commit comments

Comments
 (0)