Explorar o código

Returned copyright message

Min %!s(int64=4) %!d(string=hai) anos
pai
achega
b2d12608af
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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;