Fixed empty json output
This commit is contained in:
parent
35fbafc831
commit
40a06701bf
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ namespace Mist {
|
|||
}
|
||||
|
||||
bool OutJSON::onFinish(){
|
||||
if (!jsonp.size()){
|
||||
if (!jsonp.size() && !first){
|
||||
myConn.SendNow("]);\n\n", 5);
|
||||
}
|
||||
myConn.close();
|
||||
|
|
Loading…
Add table
Reference in a new issue