Skip to content

Commit

Permalink
style: formatting according to [email protected]
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm committed Jan 30, 2024
1 parent c20f949 commit aa351e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions aries_cloudagent/connections/models/conn_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,7 @@ def __init__(
self.their_role = (
ConnRecord.Role.get(their_role).rfc160
if isinstance(their_role, str)
else None
if their_role is None
else their_role.rfc160
else None if their_role is None else their_role.rfc160
)
self.invitation_key = invitation_key
self.invitation_msg_id = invitation_msg_id
Expand Down

0 comments on commit aa351e9

Please sign in to comment.