You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to share a directory:
share_link = oc.share_file_with_link(directory)
I get
'id': data_el.find('id').text,
AttributeError: 'NoneType' object has no attribute 'text'
I know that the function explicitly talks about files, but documentation says I can share directories and there is not a share_directory_with_link function so I am working on basis that this function should work.
Error refers to line 833 - data=post_data
and post data is created on 818
post_data = {
'shareType': self.OCS_SHARE_TYPE_LINK,
'path': self._encode_string(path),
}
When attempting to share a directory:
share_link = oc.share_file_with_link(directory)
I get
'id': data_el.find('id').text,
AttributeError: 'NoneType' object has no attribute 'text'
I know that the function explicitly talks about files, but documentation says I can share directories and there is not a share_directory_with_link function so I am working on basis that this function should work.
Error refers to line 833 - data=post_data
and post data is created on 818
post_data = {
'shareType': self.OCS_SHARE_TYPE_LINK,
'path': self._encode_string(path),
}
Any ideas?