mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-06 20:10:56 +00:00
Clean and reorder calendar functions
This commit is contained in:
parent
b1414c152d
commit
022b2aa91f
4 changed files with 91 additions and 90 deletions
|
@ -269,7 +269,7 @@ class Application(object):
|
|||
"""Manage DELETE request."""
|
||||
calendar = calendars[0]
|
||||
|
||||
if calendar.local_path == environ["PATH_INFO"].strip("/"):
|
||||
if calendar.path == environ["PATH_INFO"].strip("/"):
|
||||
# Path matching the calendar, the item to delete is the calendar
|
||||
item = calendar
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue