소스 검색

Returned copyright message

Min 4 년 전
부모
커밋
b2d12608af
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      emulator/python/py_interface.c

+ 1 - 4
emulator/python/py_interface.c

@@ -175,10 +175,7 @@ void print_serial(Emulator *emu, char *buf) {
 
 
 void print_console (Emulator *emu, const char *buf) {
-    if(pyOnConsole == NULL) {
-        puts(buf);
-        return;
-    }
+    if(pyOnConsole == NULL) return;
 
     // set thread state
     PyGILState_STATE gstate;