-
Notifications
You must be signed in to change notification settings - Fork 118
Closed
Description
Hello,
I use this code for test
import owncloud
oc = owncloud.Client('https://owncloud.comp.tld')
oc.login('login', password')
if oc.is_shared('testdir') == False:
print "No share"
link_info = oc.share_file_with_link('testdir')
id_link=link_info.get_link()
print id_link
else:
print "share Exist"
id_info=oc.get_shares('testdir')
id_link=oc.get_share(id_info[0].get_id())
print id_link.get_link()When Share does not exist, it's Ok , i get id link
No share https://owncloud.comp.tld/index.php/s/SEGaJTjnBxH2Ko3
But when share exist, there is no id link (None)
share Exist None
Can you Help me
Metadata
Metadata
Assignees
Labels
No labels