Skip to content

Commit

Permalink
AEGEE Specifics
Browse files Browse the repository at this point in the history
-- Skip symlinks in storage/filesystem
  • Loading branch information
dilyanpalauzov committed Jun 17, 2023
1 parent bad381e commit 73ca56c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vdirsyncer/storage/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def discover(cls, path, **kwargs):

@classmethod
def _validate_collection(cls, path):
if not os.path.isdir(path):
if not os.path.isdir(path) or os.path.islink(path):
return False
if os.path.basename(path).startswith("."):
return False
Expand Down

0 comments on commit 73ca56c

Please sign in to comment.