diff --git a/src/application.py b/src/application.py index 19eb2dc4..c31ba9dc 100644 --- a/src/application.py +++ b/src/application.py @@ -5,7 +5,7 @@ if snapshot == False: version = "0.80" update_url = 'http://twblue.es/updates/twblue_ngen.json' else: - version = "9.92" + version = "10.0" update_url = 'http://twblue.es/updates/snapshots_ngen.json' author = u"Manuel Cortéz, Bill Dengler" authorEmail = "manuel@manuelcortez.net" diff --git a/src/controller/buffersController.py b/src/controller/buffersController.py index ee7de210..6ecc2b82 100644 --- a/src/controller/buffersController.py +++ b/src/controller/buffersController.py @@ -427,7 +427,6 @@ class baseBufferController(bufferController): if comment != '': retweet.message.set_text(comment) if retweet.message.get_response() == widgetUtils.OK: - self.session.settings["mysc"]["twishort_enabled"] = retweet.message.long_tweet.GetValue() text = retweet.message.get_text() comments=text if len(text+ u"“@%s: %s ”" % (tweet["user"]["screen_name"], tweet["text"])) < 140: diff --git a/src/controller/messages.py b/src/controller/messages.py index ce98a42d..5e8be33e 100644 --- a/src/controller/messages.py +++ b/src/controller/messages.py @@ -117,7 +117,8 @@ class tweet(basicTweet): widgetUtils.connect_event(self.message.upload_image, widgetUtils.BUTTON_PRESSED, self.upload_image) widgetUtils.connect_event(self.message.autocompletionButton, widgetUtils.BUTTON_PRESSED, self.autocomplete_users) if twishort_enabled == False: - self.message.long_tweet.SetValue(False) + try: self.message.long_tweet.SetValue(False) + except AttributeError: pass def upload_image(self, *args, **kwargs): if self.message.get("upload_image") == _(u"Discard image"):