Ver código fonte

change mtime test file location to collection-root

Peter Bieringer 1 ano atrás
pai
commit
53251231d4
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      radicale/storage/multifilesystem/__init__.py

+ 1 - 1
radicale/storage/multifilesystem/__init__.py

@@ -94,7 +94,7 @@ class Storage(
 
     def _analyse_mtime(self):
         # calculate and display mtime resolution
-        path = os.path.join(self._filesystem_folder, ".Radicale.mtime_test")
+        path = os.path.join(self._get_collection_root_folder(), ".Radicale.mtime_test")
         logger.debug("Storage item mtime resolution test with file: %r", path)
         try:
             with open(path, "w") as f: