Skip to content
Snippets Groups Projects
Commit 74289078 authored by Bartosz Broda's avatar Bartosz Broda
Browse files

small bugfix (trimming filename)

parent 498ff5ee
No related merge requests found
......@@ -176,6 +176,7 @@ bool MWEReader::registered = TokenReader::register_path_reader<MWEReader>(
if(boost::algorithm::starts_with(option, "mwefile:")) {
std::string mwefile = option.substr(8);
boost::algorithm::trim(mwefile);
if(boost::filesystem::exists(mwefile))
load_mwes(mwefile);
else
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment