Skip to content

Commit

Permalink
Added bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
klingbolt committed Nov 5, 2023
1 parent 6676272 commit 757906c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xml_converter/src/xml_converter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ void write_taco_directory(string output_path, map<string, Category>* marker_cate
// TODO: Exportion of XML Marker Packs File Structure #111
if (!has_suffix(output_path, "/")) {
output_path += "/";
}
if (!filesystem::is_directory(output_path)) {
if (!filesystem::create_directory(output_path)) {
cout << "Error: " << output_path << "is not a valid directory path" << endl;
Expand Down

0 comments on commit 757906c

Please sign in to comment.