Skip to content

Commit b1b3b1e

Browse files
committed
- correct erroneously commented code in initSysArgv which fails in debug mode
- removed doubled entry in .gitignore
1 parent 4d3b8d1 commit b1b3b1e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Debug/
2626
Release/
2727
PythonDebug/
2828
x64/
29-
packages/
3029
ipch/
3130
*.pyc
3231
_ReSharper.*/

PythonScript/src/PythonHandler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ void PythonHandler::initSysArgv()
258258
argvList.append(boost::python::handle<>(unicodeArg));
259259
}
260260

261-
//boost::python::object sysModule(boost::python::handle<>(boost::python::borrowed(PyImport_AddModule("sys"))));
262-
//sysModule.attr("argv") = argvList;
261+
boost::python::object sysModule(boost::python::handle<>(boost::python::borrowed(PyImport_AddModule("sys"))));
262+
sysModule.attr("argv") = argvList;
263263

264264

265265
}

0 commit comments

Comments
 (0)