1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

Ignore the .props when giving children

This commit is contained in:
Guillaume Ayoub 2012-02-20 17:45:47 +01:00
parent 224d0d47e8
commit 5e8dec6683

View file

@ -92,7 +92,7 @@ class Collection(ical.Collection):
@classmethod
def is_item(cls, path):
abs_path = os.path.join(FOLDER, path.replace("/", os.sep))
return os.path.isfile(abs_path)
return os.path.isfile(abs_path) and not abs_path.endswith(".props")
@property
def last_modified(self):