Skip to content

Commit 73ca56c

Browse files
AEGEE Specifics
-- Skip symlinks in storage/filesystem
1 parent bad381e commit 73ca56c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vdirsyncer/storage/filesystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async def discover(cls, path, **kwargs):
5959

6060
@classmethod
6161
def _validate_collection(cls, path):
62-
if not os.path.isdir(path):
62+
if not os.path.isdir(path) or os.path.islink(path):
6363
return False
6464
if os.path.basename(path).startswith("."):
6565
return False

0 commit comments

Comments
 (0)