Skip to content

Commit 92cc223

Browse files
authored
bug fix in AODReaderHelpers.cxx (#4000)
1 parent 5ae1e30 commit 92cc223

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Framework/Core/src/AODReaderHelpers.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,9 @@ void checkAndEnableAlien(std::string const& filename)
198198
TGrid::Connect("alien://");
199199
}
200200
if (filename.rfind("@", 0) == 0) {
201-
std::ifstream filenames(filename);
201+
std::string strippedFilename = filename;
202+
strippedFilename.erase(0, 1);
203+
std::ifstream filenames(strippedFilename);
202204
for (std::string line; std::getline(filenames, line);) {
203205
if (line.rfind("alien://", 0) == 0) {
204206
LOG(debug) << "AliEn file requested. Enabling support.";

0 commit comments

Comments
 (0)