Ver Fonte

Ignore the .props when giving children

Guillaume Ayoub há 14 anos atrás
pai
commit
5e8dec6683
1 ficheiros alterados com 1 adições e 1 exclusões
  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):