提交 54635ddd 编写于 作者: G gineshidalgo99

Fixed COCO JSON bug

上级 c3ab3141
......@@ -76,7 +76,8 @@ namespace op
{
try
{
enterAndTab(*upOfstream, mHumanReadable, mBracesCounter, mBracketsCounter);
if (upOfstream != nullptr)
enterAndTab(*upOfstream, mHumanReadable, mBracesCounter, mBracketsCounter);
if (mBracesCounter != 0 || mBracketsCounter != 0)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册