Skip to content

Commit 5ed9864

Browse files
AEGEE Specifics
-- Skip symlinks in storage/filesystem
1 parent 7b49341 commit 5ed9864

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
@@ -60,7 +60,7 @@ async def discover(cls, path, **kwargs):
6060

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

0 commit comments

Comments
 (0)