Skip to content

Commit

Permalink
Fixed type conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Nov 17, 2024
1 parent d6dd176 commit ec0a422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/cs3iface.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def setxattr(endpoint, filepath, userid, key, value, lockmd):
if lockmd:
_, lock_id = lockmd
resource = Resource.from_file_ref_and_endpoint(filepath, endpoint)
client.file.set_xattr(Auth.check_token(userid), resource, key, value, lock_id)
client.file.set_xattr(Auth.check_token(userid), resource, key, str(value), lock_id)


def rmxattr(endpoint, filepath, userid, key, lockmd):
Expand Down

0 comments on commit ec0a422

Please sign in to comment.