mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Fix BaseCollection.move
The update method doesn't exist.
This commit is contained in:
parent
e95d187cbc
commit
def34b1454
1 changed files with 1 additions and 4 deletions
|
@ -254,10 +254,7 @@ class BaseCollection:
|
||||||
"""
|
"""
|
||||||
if item.collection.path == to_collection.path and item.href == to_href:
|
if item.collection.path == to_collection.path and item.href == to_href:
|
||||||
return
|
return
|
||||||
if to_collection.has(to_href):
|
to_collection.upload(to_href, item.item)
|
||||||
to_collection.update(to_href, item.item)
|
|
||||||
else:
|
|
||||||
to_collection.upload(to_href, item.item)
|
|
||||||
item.collection.delete(item.href)
|
item.collection.delete(item.href)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue