core, bridge: encryptionPluginsGet now returns a serialised list + added "directed" in metadata
This commit is contained in:
parent
efe52d755d
commit
7dd0df7f41
1 changed files with 10 additions and 8 deletions
|
|
@ -49,7 +49,8 @@ class EncryptionAlgorithms(base.CommandBase):
|
|||
|
||||
async def start(self):
|
||||
try:
|
||||
plugins = await self.host.bridge.encryptionPluginsGet()
|
||||
plugins_ser = await self.host.bridge.encryptionPluginsGet()
|
||||
plugins = data_format.deserialise(plugins_ser, type_check=list)
|
||||
except Exception as e:
|
||||
self.disp(f"can't retrieve plugins: {e}", error=True)
|
||||
self.host.quit(C.EXIT_BRIDGE_ERRBACK)
|
||||
|
|
|
|||
Loading…
Reference in a new issue