Procházet zdrojové kódy

Ignore the .props when giving children

Guillaume Ayoub před 14 roky
rodič
revize
5e8dec6683
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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):