Skip to content

Commit a689027

Browse files
Skip symlinks in storage/filesystem
1 parent f9c6602 commit a689027

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

5454
@classmethod
5555
def _validate_collection(cls, path):
56-
if not os.path.isdir(path):
56+
if not os.path.isdir(path) or os.path.islink(path):
5757
return False
5858
if os.path.basename(path).startswith('.'):
5959
return False

0 commit comments

Comments
 (0)