From 88b5597f223dc2ddfaf9e928ddd0f92caaa8368a Mon Sep 17 00:00:00 2001 From: Jurgen Lentz <42538773+jurgen-lentz@users.noreply.github.com> Date: Fri, 8 Nov 2024 19:29:57 +0100 Subject: [PATCH] Update outputhandler.pxi --- amplpy/outputhandler.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amplpy/outputhandler.pxi b/amplpy/outputhandler.pxi index 38014cd..50af599 100644 --- a/amplpy/outputhandler.pxi +++ b/amplpy/outputhandler.pxi @@ -31,7 +31,7 @@ cdef class OutputHandler(object): cdef void PyOutput(campl.AMPL_OUTPUTKIND kind, const char* msg, void* usrdata) except * with gil: PyOutputHandler = usrdata - PyOutputHandler.output(kind, str(msg.decode('utf-8'))) + PyOutputHandler.output(kind, msg.decode('utf-8')) class Kind(object): """