浏览代码

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;