mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Use literal string interpolation in integrations H-J (f-strings) (#26380)
This commit is contained in:
committed by
Pascal Vizeli
parent
13bb2ea35a
commit
f9edec19ad
@@ -194,4 +194,4 @@ class HpIloData:
|
||||
hpilo.IloCommunicationError,
|
||||
hpilo.IloLoginFailed,
|
||||
) as error:
|
||||
raise ValueError("Unable to init HP ILO, {}".format(error))
|
||||
raise ValueError(f"Unable to init HP ILO, {error}")
|
||||
|
||||
Reference in New Issue
Block a user