xgenvn / InputHelper

Popup a textinput field to input text using IM (ibus, scim) in Sublime Text 2 under Linux.
88 stars 23 forks source link

python2 #3

Closed mihado closed 11 years ago

mihado commented 11 years ago

hi, I had a friend who ran to the same problem as Arch linux map python to python3 by default. This small change may help the others from this issue (albeit, pretty rare though).

xgenvn commented 11 years ago

Hi again,

Thank you for being so kind to look into the code and solve problem by yourself then share with others. It's wonderful indeed.

I know the issue will come to whom having many python versions built in system. However, I'm not sure that this fix will be universal for all users. I'll try to add some lines to detect the right python version in the main function. Until then, I think it would be better to leave this as a known-issue, for others having same problem so they can fix it by themselves.

Regards,