From 60314c957b2cce4e91b1a9445d0c6bd6b9e85e72 Mon Sep 17 00:00:00 2001 From: tobenary Date: Sun, 22 Nov 2020 01:06:36 +0200 Subject: [PATCH] Update owncloud.py enable the return of the item_id and item_type for the share option --- owncloud/owncloud.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/owncloud/owncloud.py b/owncloud/owncloud.py index 7e3e804..0eece7c 100644 --- a/owncloud/owncloud.py +++ b/owncloud/owncloud.py @@ -63,8 +63,7 @@ class ShareInfo(object): def __init__(self, share_info): self.share_info = {} # remove unneeded attributes - del_attrs = ['item_type', 'item_source', 'file_source', 'parent', - 'storage', 'mail_send'] + del_attrs = ['parent', 'storage', 'mail_send'] for k, v in share_info.items(): if k not in del_attrs: self.share_info[k] = v