Ignore the .props when giving children
This commit is contained in:
parent
224d0d47e8
commit
5e8dec6683
@ -92,7 +92,7 @@ class Collection(ical.Collection):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def is_item(cls, path):
|
def is_item(cls, path):
|
||||||
abs_path = os.path.join(FOLDER, path.replace("/", os.sep))
|
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
|
@property
|
||||||
def last_modified(self):
|
def last_modified(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user