Skip to content

Commit 646e0fb

Browse files
AEGEE Specifics
-- Skip symlinks in storage/filesystem
1 parent 889e1f9 commit 646e0fb

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

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

0 commit comments

Comments
 (0)