Missing config reference

This commit is contained in:
Jaex 2015-10-06 03:13:50 +03:00
parent e2f3aeabf1
commit 27d4814500
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ public override UploadResult Upload(Stream stream, string fileName)
{
if (Uploader == null || string.IsNullOrEmpty(Uploader.UploadURL))
{
Errors.Add("Please select one of Pomf uploaders from \"Destination settings -> Pomf tab\".");
Errors.Add("Please select one of Pomf uploaders from \"Destination settings window -> Pomf tab\".");
return null;
}

View file

@ -1070,7 +1070,7 @@ public UploadResult UploadFile(Stream stream, string fileName)
fileUploader = new VideoBin();
break;
case FileDestination.Pomf:
fileUploader = new Pomf(Pomf.Uploaders[0]);
fileUploader = new Pomf(Program.UploadersConfig.PomfUploader);
break;
case FileDestination.Dropfile:
fileUploader = new Dropfile();