1
0
Fork 0
mirror of https://github.com/qurator-spk/modstool.git synced 2025-08-14 03:59:53 +02:00

🧹 MODS: Fix typo in type=text fix

This commit is contained in:
Gerber, Mike 2025-08-07 20:50:12 +02:00
parent 91502c519d
commit 4178f1e380

View file

@ -203,7 +203,7 @@ class TagGroup:
for e in self.group: for e in self.group:
if not e.attrib.get("type") == "text": if not e.attrib.get("type") == "text":
e.attrib["type"] = "text" e.attrib["type"] = "text"
warnings.warn("Added type='text')") warnings.warn("Added type='text'")
return self return self
def remove_attributes(self, attribs) -> TagGroup: def remove_attributes(self, attribs) -> TagGroup: