Call dbus with string value not enum (#3996)

Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
This commit is contained in:
Mike Degatano 2022-11-15 03:28:40 -05:00 committed by GitHub
parent 9559ac06b9
commit 8d495aa437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ class Rauc(DBusInterfaceProxy):
@dbus_connected
async def mark(self, state: RaucState, slot_identifier: str) -> tuple[str, str]:
"""Get slot status."""
return await self.dbus.Installer.call_mark(state, slot_identifier)
return await self.dbus.Installer.call_mark(state.value, slot_identifier)
@dbus_connected
async def update(self, changed: dict[str, Any] | None = None) -> None: