Skip to content

Commit

Permalink
Merge branch 'warning'
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Jan 6, 2017
2 parents c39c830 + 4700c6e commit 760794e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions standard-format.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ def generate_search_path(view):
run necessary work to generate a search path
"""
search_path = settings.get("PATH")
if not isinstance(search_path, list):
print("StandardFormat: PATH in settings does not appear to be an array")
search_path = []
if settings.get("use_view_path"):
if view.file_name():
search_path = search_path + [get_view_path(view.file_name())]
Expand Down

0 comments on commit 760794e

Please sign in to comment.