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 branches found
No related tags found
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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment