Added if-statement to avoid `unexpected keyword argument` on Sublime2

Been meaning to submit this patch for quite a while.  Just got to it.  Sorry about that.