Permalink
Browse files

Create edit was bool

  • Loading branch information...
1 parent fea9277 commit 91d4ecfc948c821a5b17a6ef40eef0beefefd162 @agibsonsw committed Oct 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 AndyEdits.py
View
2 AndyEdits.py
@@ -155,7 +155,7 @@ def run(self, edit):
if not sameView(self.view.id()):
sublime.status_message('Click into the view/tab first.')
return
- edited = adjustEdits(self.view)
+ edited = adjustEdits(self.view) or []
curr_region = self.view.sel()[0]
if curr_region.empty():
sublime.status_message('You must select some text.')

0 comments on commit 91d4ecf

Please sign in to comment.