Skip to content

Commit d5d45f2

Browse files
AEGEE Specifics
-- Skip symlinks in storage/filesystem
1 parent 055ed12 commit d5d45f2

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

6464
@classmethod
6565
def _validate_collection(cls, path):
66-
if not os.path.isdir(path):
66+
if not os.path.isdir(path) or os.path.islink(path):
6767
return False
6868
if os.path.basename(path).startswith("."):
6969
return False

0 commit comments

Comments
 (0)