之前都没问题的,
现在每当写好commit点击ctrl + w
时控制台就出现如下提示:
Traceback (most recent call last):
File ".\sublime_plugin.py", line 180, in on_close
callback.__module__, "on_close", EVENT_TIMEOUT)
File ".\sublime_plugin.py", line 154, in run_timed_function
ret = f()
File ".\sublime_plugin.py", line 179, in <lambda>
run_timed_function(lambda: callback.on_close(v),
File ".\commit.py", line 153, in on_close
File ".\commit.py", line 124, in message_done
TypeError: 'encoding' is an invalid keyword argument for this function