Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion onepassword/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def read(secret_ref: str):
if not secret_ref or not isinstance(secret_ref, str):
raise ValueError("secret_ref must be a non-empty string")

return read_bash_return("op read '{}'".format(secret_ref))
return read_bash_return("op read '{}'".format(secret_ref), single=False).removesuffix('\n')

@staticmethod
def get_item_otp(uuid: str | bytes):
Expand Down