Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit aee607f

Browse files
committed
Default to empty list if None found
1 parent 99c74d1 commit aee607f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎AngularJS-sublime-package.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def isHTML(self):
5050
def exclude_dirs(self):
5151
exclude_dirs = []
5252
for folder in ng.active_window().folders():
53-
exclude_dirs += [glob.glob(folder+"/"+path) for path in ng.settings.get('exclude_dirs')]
53+
exclude_dirs += [glob.glob(folder+"/"+path) for path in ng.settings.get('exclude_dirs', [])]
5454
exclude_dirs += [glob.glob(folder+"/"+path) for path in ng.view_settings().get('exclude_dirs', [])]
5555
return list(itertools.chain(*exclude_dirs))
5656

0 commit comments

Comments
 (0)