Explorar o código

Ignore the .props when giving children

Guillaume Ayoub %!s(int64=14) %!d(string=hai) anos
pai
achega
5e8dec6683
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      radicale/storage/filesystem.py

+ 1 - 1
radicale/storage/filesystem.py

@@ -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):