Fixed issues hopefully

This commit is contained in:
AlexandreRouma
2022-02-24 21:01:51 +01:00
parent 2779516378
commit 9bbc50ff3c
8 changed files with 11 additions and 11 deletions

View File

@ -243,7 +243,7 @@ private:
MOD_EXPORT void _INIT_() {
// Create default recording directory
std::string root = core::args["root"];
std::string root = (std::string)core::args["root"];
if (!std::filesystem::exists(root + "/recordings")) {
spdlog::warn("Recordings directory does not exist, creating it");
if (!std::filesystem::create_directory(root + "/recordings")) {