Closed felixhao28 closed 8 years ago
aww shoot. one sec.
thanks for reporting!
On Jul 5, 2016, at 8:14 PM, Felix Hao notifications@github.com wrote:
Traceback (most recent call last): File "C:\Program Files\Sublime Text 3\sublimeplugin.py", line 798, in run return self.run(edit) File "C:\Users\XXX\AppData\Roaming\Sublime Text 3\Packages\SublimeStringEncode\string_encode.py", line 99, in run elif kwargs.has_key('source'): AttributeError: 'dict' object has no attribute 'has_key'
In python3 has_key is deprecated https://docs.python.org/3.1/whatsnew/3.0.html#builtins.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/colinta/SublimeStringEncode/issues/30, or mute the thread https://github.com/notifications/unsubscribe/AABrsl1ottyq4ouuv45NblMUKiFVzLyFks5qSw-QgaJpZM4JFsdy.
Fixed in 2.2.1.
In python3 has_key is deprecated.