superkaramba: minor improvement to python version detection condition.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/47/head r14.1.0
Michele Calgaro 2 years ago
parent f6499971af
commit 832a902d96
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -444,7 +444,7 @@ void KarambaPython::initPython()
PyImport_AppendInittab((char*)"karamba", PyInit_karamba);
Py_Initialize();
#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION <= 6
#if PY_VERSION_HEX < 0x03070000
// initialize thread support
PyEval_InitThreads();
#endif

Loading…
Cancel
Save