Skip to content

Commit c3e690b

Browse files
author
autoruff
committed
fixup: nitpicks Python code fixed using ruff
1 parent b7399f9 commit c3e690b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def format_measure(measure: str, unit: str) -> float | int:
216216
def get_vendor_name(module: etree, model_data: ModuleData) -> ModuleData:
217217
"""Helper-function for _get_model_data()."""
218218
if (vendor_name := module.find("vendor_name").text) is not None:
219-
model_data["vendor_name"] = unicode(vendor_name, 'unicode_escape')
219+
model_data["vendor_name"] = unicode(vendor_name, "unicode_escape")
220220
if "Plugwise" in vendor_name:
221221
model_data["vendor_name"] = vendor_name.split(" ", 1)[0]
222222

0 commit comments

Comments
 (0)