diff --git a/bridge.lua b/bridge.lua index 922d4401..3c720951 100644 --- a/bridge.lua +++ b/bridge.lua @@ -279,6 +279,7 @@ return function(_python, _bridged) end end debug.getmetatable(io.stdout).__index.close = _new_close(io.stdout.close) + debug.getmetatable(io.stdout).__close = _new_close(io.stdout.close) ---@param filename string ---@return boolean