Skip to content

Commit

Permalink
Fix of initial exception
Browse files Browse the repository at this point in the history
  • Loading branch information
roadhump committed Nov 21, 2012
1 parent 1106add commit ede2a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GoldenRatio.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@ def on_activated(self, view):

window = sublime.active_window()
auto_resize = sublime.load_settings('GoldenRatio.sublime-settings').get('auto_resize')
if auto_resize:
if window and auto_resize:
window.run_command('golden_ratio')

0 comments on commit ede2a05

Please sign in to comment.