make sure theres no double slash at the beginning of exclude path, fix #183

This commit is contained in:
tibbi 2017-03-06 23:05:02 +01:00
parent a6e62ddc1b
commit 74af90eaa6

View file

@ -62,6 +62,9 @@ class ExcludeFolderDialog(val activity: SimpleActivity, val selectedPaths: List<
return pathsList
pathsList.add(basePath)
if (basePath == "/")
basePath = ""
for (part in parts) {
basePath += "/$part"
pathsList.add(basePath)