Skip to content

Commit

Permalink
Update xLightsAutomations.cpp (#5046)
Browse files Browse the repository at this point in the history
  • Loading branch information
cybercop23 authored Dec 13, 2024
1 parent acad8ff commit 0856fcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xLights/automation/xLightsAutomations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,8 @@ bool xLightsFrame::ProcessAutomation(std::vector<std::string> &paths,
std::string response = wxString::Format("{\"msg\":\"Set Model Property.\",\"worked\":\"%s\"}", JSONSafe(toStr(m != nullptr)));
return sendResponse(response, "", 200, true);
} else if (cmd == "getfseqdirectory") {
return sendResponse(GetFseqDirectory(), "folder", 200, true);
std::string json = wxString::Format("{\"folder\":\"%s\"}", JSONSafe(GetFseqDirectory()));
return sendResponse(json, "", 200, true);
}
return false;
}
Expand Down

0 comments on commit 0856fcc

Please sign in to comment.