Added adapted example json script; small bugfix
This commit is contained in:
@@ -20,7 +20,7 @@ std::string readAbsoluteFilename(json_t* object) {
|
||||
json_string(json_object_by_path(object, {"Filename"}));
|
||||
return homebase + "/" + relative_path_to_homebase + "/" + filename;
|
||||
|
||||
} else if (path_type == "AbsolutPath") {
|
||||
} else if (path_type == "AbsolutePath") {
|
||||
std::string absolute_path =
|
||||
json_string(json_object_by_path(object, {"AbsoluteFolderPath"}));
|
||||
std::string filename =
|
||||
|
||||
Reference in New Issue
Block a user