Minor spelling fixes (#2929)

This commit is contained in:
Sergio Oller 2021-06-02 11:50:07 +02:00 committed by GitHub
parent 6ddc135266
commit fd185fc326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ class HassOS(CoreSysAttributes):
async with self.sys_websession.get(url, timeout=timeout) as request: async with self.sys_websession.get(url, timeout=timeout) as request:
if request.status != 200: if request.status != 200:
raise HassOSUpdateError( raise HassOSUpdateError(
f"Error raise form OTA Webserver: {request.status}", f"Error raised from OTA Webserver: {request.status}",
_LOGGER.error, _LOGGER.error,
) )
@ -198,6 +198,6 @@ class HassOS(CoreSysAttributes):
try: try:
response = await self.sys_dbus.rauc.mark(RaucState.GOOD, "booted") response = await self.sys_dbus.rauc.mark(RaucState.GOOD, "booted")
except DBusError: except DBusError:
_LOGGER.error("Can't mark booted partition as healty!") _LOGGER.error("Can't mark booted partition as healthy!")
else: else:
_LOGGER.info("Rauc: %s - %s", self.sys_dbus.rauc.boot_slot, response[1]) _LOGGER.info("Rauc: %s - %s", self.sys_dbus.rauc.boot_slot, response[1])