Skip to content

Commit

Permalink
AEGEE Specifics
Browse files Browse the repository at this point in the history
-- Skip symlinks in storage/filesystem
-- Do not retrieve the displayname during discover
  • Loading branch information
dilyanpalauzov committed Jul 26, 2021
1 parent 7b49341 commit c621b20
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 @@ -60,7 +60,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 c621b20

Please sign in to comment.