Show error messages in failed audio uploads. Hopefully Fixes api uploads in sndup

This commit is contained in:
2018-01-31 17:12:43 -06:00
parent 3c0824aad4
commit 80cb5567d5
4 changed files with 21 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ class audioUploader(object):
self.uploaderDialog = wx_transfer_dialogs.UploadDialog(self.file)
output.speak(_(u"Attaching..."))
if self.dialog.get("services") == "SNDUp":
base_url = "http://sndup.net/post.php"
base_url = "https://sndup.net/post.php"
if len(self.config["sound"]["sndup_api_key"]) > 0:
url = base_url + '?apikey=' + self.config['sound']['sndup_api_key']
else: