Skip to content

Commit

Permalink
Ignore links during import
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Oct 22, 2019
1 parent ea2934c commit 0d7f580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CB/Core.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def detect_addons(self):
partial_hit_raw = []
miss = []
for directory in addon_dirs:
if not os.path.isdir(self.path / directory / '.git'):
if not os.path.isdir(self.path / directory / '.git') and not os.path.islink(self.path / directory):
if directory in self.cfDirs:
if len(self.cfDirs[directory]) > 1:
partial_hit_raw.append(self.cfDirs[directory])
Expand Down

0 comments on commit 0d7f580

Please sign in to comment.