path_tildexpand was not applied to webdownloadsdir leading to failure if it was specified as ~/xxx
This commit is contained in:
parent
d55decef20
commit
1f422eb023
@ -59,8 +59,9 @@ bool runWebFilesMoverScript(RclConfig *config)
|
||||
static string downloadsdir;
|
||||
if (downloadsdir.empty()) {
|
||||
if (!config->getConfParam("webdownloadsdir", downloadsdir)) {
|
||||
downloadsdir = path_tildexpand("~/Downloads");
|
||||
downloadsdir = "~/Downloads";
|
||||
}
|
||||
downloadsdir = path_tildexpand(downloadsdir);
|
||||
}
|
||||
vector<string> cmdvec;
|
||||
config->pythonCmd("recoll-we-move-files.py", cmdvec);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user