Skip to content
Browse files

Fixes issue #12

  • Loading branch information...
1 parent 249a414 commit abab98a908187fcf3a739393a5eab4fb6309701e @ostinelli committed May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 completion/sublimerl_libparser.py
View
2 completion/sublimerl_libparser.py
@@ -47,7 +47,7 @@ def generate_completions(self, starting_dir, dest_file_base):
# find a release directory, ignore autocompletion for these files
rel_dirs.append(root)
for filename in fnmatch.filter(filenames, r"*.erl"):
- if root.split('/')[-1] == 'src':
+ if 'src' in root.split('/'):
# source file in a src directory
filepath = os.path.join(root, filename)
# check if in release directory

0 comments on commit abab98a

Please sign in to comment.
Something went wrong with that request. Please try again.