controller: treat treat underscores in project names as spaces
This commit is contained in:
parent
5d043986df
commit
8ae3c2ea5a
|
@ -604,7 +604,9 @@ namespace SparkleShare {
|
|||
|
||||
this.fetcher.Complete ();
|
||||
string canonical_name = Path.GetFileNameWithoutExtension (this.fetcher.RemoteUrl.AbsolutePath);
|
||||
|
||||
canonical_name = canonical_name.Replace ("-crypto", "");
|
||||
canonical_name = canonical_name.Replace ("_", " ");
|
||||
|
||||
bool target_folder_exists = Directory.Exists (
|
||||
Path.Combine (this.config.FoldersPath, canonical_name));
|
||||
|
|
Loading…
Reference in a new issue