mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-25 02:00:19 -06:00
Fix typo in variable name.
This commit is contained in:
parent
688c810300
commit
44ce8985e0
@ -22,10 +22,6 @@
|
|||||||
// App headers
|
// App headers
|
||||||
#include "Server.h"
|
#include "Server.h"
|
||||||
|
|
||||||
#ifndef PYTHON2
|
|
||||||
#include <stdlib.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void add_to_path(QString &python_path, QString path, bool prepend=false)
|
static void add_to_path(QString &python_path, QString path, bool prepend=false)
|
||||||
{
|
{
|
||||||
if (!python_path.contains(path))
|
if (!python_path.contains(path))
|
||||||
@ -185,7 +181,7 @@ Server::Server(quint16 port, QString key)
|
|||||||
char *python_home = pythonHome_utf8.data();
|
char *python_home = pythonHome_utf8.data();
|
||||||
const size_t cSize = strlen(python_home) + 1;
|
const size_t cSize = strlen(python_home) + 1;
|
||||||
m_wcPythonHome = new wchar_t[cSize];
|
m_wcPythonHome = new wchar_t[cSize];
|
||||||
mbstowcs (wcPythonHome, python_home, cSize);
|
mbstowcs (m_wcPythonHome, python_home, cSize);
|
||||||
|
|
||||||
Py_SetPythonHome(m_wcPythonHome);
|
Py_SetPythonHome(m_wcPythonHome);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user