From 8f488eb6bcc079e0fba2f857a10e3f676d57a680 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Fri, 22 Jul 2011 15:01:33 +0200 Subject: [PATCH] Fix the owner attriubtion for 1+ depth URLs --- radicale/ical.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/ical.py b/radicale/ical.py index 5d06911..eaa9460 100644 --- a/radicale/ical.py +++ b/radicale/ical.py @@ -177,7 +177,7 @@ class Calendar(object): self.owner = split_path[0] elif len(split_path) > 1: # URL with at least one folder - self.owner = split_path[-1] + self.owner = split_path[0] else: self.owner = None self.local_path = path if path != '.' else ''