Merge pull request #387 from pjft/fix-paths

Fixing path generation on the Pi for getDirContents
This commit is contained in:
Jools Wills 2018-03-09 18:11:38 +00:00 committed by GitHub
commit 99cc97680d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ namespace Utils
// ignore "." and ".." // ignore "." and ".."
if((name != ".") && (name != "..")) if((name != ".") && (name != ".."))
{ {
std::string fullName(path + "/" + name); std::string fullName(getGenericPath(path + "/" + name));
contentList.push_back(fullName); contentList.push_back(fullName);
if(_recursive && isDirectory(fullName)) if(_recursive && isDirectory(fullName))