Removed TWUp from list of audio services

This commit is contained in:
Manuel Cortez 2017-04-27 04:10:25 +04:00
parent 16a6fa2896
commit b9d8e13bdf
2 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,8 @@
## changes in this version ## changes in this version
* TWBlue will show an error when trying to open a timeline for a suspended user. ([#125](https://github.com/manuelcortez/TWBlue/issues/125)) * TWBlue will show an error when trying to open a timeline for a suspended user. ([#128](https://github.com/manuelcortez/TWBlue/issues/128))
* Removed TwUp as service as it no longer exists. ([#112](https://github.com/manuelcortez/TWBlue/issues/112))
## Changes in version 0.90 ## Changes in version 0.90

View File

@ -53,8 +53,6 @@ class audioUploader(object):
output.speak(_(u"Attaching...")) output.speak(_(u"Attaching..."))
if self.dialog.get("services") == "SNDUp": if self.dialog.get("services") == "SNDUp":
url = "http://sndup.net/post.php" url = "http://sndup.net/post.php"
elif self.dialog.get("services") == "TwUp":
url = "http://api.twup.me/post.json"
self.uploaderFunction = transfer.Upload(obj=self, field='file', url=url, filename=self.file, completed_callback=completed_callback) self.uploaderFunction = transfer.Upload(obj=self, field='file', url=url, filename=self.file, completed_callback=completed_callback)
pub.subscribe(self.uploaderDialog.update, "uploading") pub.subscribe(self.uploaderDialog.update, "uploading")
self.uploaderDialog.get_response(self.uploaderFunction.perform_threaded) self.uploaderDialog.get_response(self.uploaderFunction.perform_threaded)
@ -62,7 +60,6 @@ class audioUploader(object):
def get_available_services(self): def get_available_services(self):
services = [] services = []
services.append("SNDUp") services.append("SNDUp")
services.append("TwUp")
return services return services
def on_pause(self, *args, **kwargs): def on_pause(self, *args, **kwargs):