controller: trim arguments before passing to the fetcher
This commit is contained in:
parent
eaebd1a9b2
commit
6ecebf101f
|
@ -877,6 +877,9 @@ namespace SparkleShare {
|
|||
|
||||
public void FetchFolder (string server, string remote_folder)
|
||||
{
|
||||
server = server.Trim ();
|
||||
remote_folder = remote_folder.Trim ();
|
||||
|
||||
if (!Directory.Exists (SparklePaths.SparkleTmpPath))
|
||||
Directory.CreateDirectory (SparklePaths.SparkleTmpPath);
|
||||
|
||||
|
|
Loading…
Reference in a new issue