diff options
Diffstat (limited to 'src/plugins/python/weechat-python.c')
-rw-r--r-- | src/plugins/python/weechat-python.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/python/weechat-python.c b/src/plugins/python/weechat-python.c index edbc26b16..4fedb3e7f 100644 --- a/src/plugins/python/weechat-python.c +++ b/src/plugins/python/weechat-python.c @@ -1504,9 +1504,9 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) /* PyEval_InitThreads(); */ /* python_mainThreadState = PyThreadState_Swap(NULL); */ #if PY_VERSION_HEX >= 0x03070000 - python_mainThreadState = PyThreadState_Get(); + python_mainThreadState = PyThreadState_Get (); #else - python_mainThreadState = PyEval_SaveThread(); + python_mainThreadState = PyEval_SaveThread (); #endif /* PyEval_ReleaseLock (); */ |