소스 검색

BUG: Fixed issue of writing Python errors to stdout instead of stderr

Andras Lasso 10 년 전
부모
커밋
00deca112c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Libs/Scripting/Python/Core/ctkAbstractPythonManager.cpp

+ 1 - 1
Libs/Scripting/Python/Core/ctkAbstractPythonManager.cpp

@@ -424,5 +424,5 @@ void ctkAbstractPythonManager::printStdout(const QString& text)
 //-----------------------------------------------------------------------------
 void ctkAbstractPythonManager::printStderr(const QString& text)
 {
-  std::cout << qPrintable(text);
+  std::cerr << qPrintable(text);
 }