diff --git a/matrix/commands.py b/matrix/commands.py index 0e0ed2d..3a66b42 100644 --- a/matrix/commands.py +++ b/matrix/commands.py @@ -591,7 +591,7 @@ def olm_info_command(server, args): olm = server.client.olm - if args.category == "private": + if not hasattr(args, 'category') or args.category == "private": fp_key = partition_key(olm.account.identity_keys["ed25519"]) message = ("Identity keys:\n" " - User: {user_color}{user}{ncolor}\n"