Skip to content

Commit 6698ef8

Browse files
committed
fix: fix python compile
1 parent 6f38bc0 commit 6698ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/legacy/main/PythonHelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ static PyObject* getPyGlobalDict() {
157157
}
158158

159159
bool processPythonDebugEngine(const std::string& cmd) {
160+
auto& logger = lse::LegacyScriptEngine::getInstance().getSelf().getLogger();
160161
if (cmd == LLSE_DEBUG_CMD) {
161-
auto& logger = lse::LegacyScriptEngine::getInstance().getSelf().getLogger();
162162
if (InConsoleDebugMode) {
163163
// EndDebug
164164
logger.info("Debug mode ended");

0 commit comments

Comments
 (0)