Revision 496595a5 trunk/Pithos.Core/PithosMonitor.cs
b/trunk/Pithos.Core/PithosMonitor.cs | ||
---|---|---|
241 | 241 |
IndexLocalFiles(); |
242 | 242 |
//Extract the URIs from the string collection |
243 | 243 |
var settings = Settings.Accounts.First(s => s.AccountKey == _accountInfo.AccountKey ); |
244 |
var selectiveUrls=settings.SelectiveFolders.Cast<string>().Select(url => new Uri(url)).ToArray(); |
|
244 |
|
|
245 |
var selectiveUrls=settings.SelectiveFolders.Cast<string>().Select(url => new Uri(url,UriKind.RelativeOrAbsolute)) |
|
246 |
.Where(uri=>uri.IsAbsoluteUri).ToArray(); |
|
245 | 247 |
|
246 | 248 |
SetSelectivePaths(selectiveUrls,null,null); |
247 | 249 |
|
Also available in: Unified diff