From 44ce8985e035026a47d3536ddc9cd59ce2c963aa Mon Sep 17 00:00:00 2001 From: Dave Page Date: Tue, 28 Mar 2017 08:55:38 -0400 Subject: [PATCH] Fix typo in variable name. --- runtime/Server.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/runtime/Server.cpp b/runtime/Server.cpp index 82ab2cb23..33b435834 100644 --- a/runtime/Server.cpp +++ b/runtime/Server.cpp @@ -22,10 +22,6 @@ // App headers #include "Server.h" -#ifndef PYTHON2 -#include -#endif - static void add_to_path(QString &python_path, QString path, bool prepend=false) { if (!python_path.contains(path)) @@ -185,7 +181,7 @@ Server::Server(quint16 port, QString key) char *python_home = pythonHome_utf8.data(); const size_t cSize = strlen(python_home) + 1; m_wcPythonHome = new wchar_t[cSize]; - mbstowcs (wcPythonHome, python_home, cSize); + mbstowcs (m_wcPythonHome, python_home, cSize); Py_SetPythonHome(m_wcPythonHome); #endif