Jaws interrupt fix

This commit is contained in:
Manuel Cortez 2015-03-26 16:38:06 -06:00
parent 1e9d4432f3
commit ae6d5b38dd
2 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class Jaws (Output):
self.object.RunFunction("BrailleString(\"%s\")" % text)
def speak(self, text, interrupt=False):
self.object.SayString(' %s' % text, True)
self.object.SayString(' %s' % text, interrupt)
def is_active(self):
try:

View File

@ -91,6 +91,9 @@ class profileController(object):
else: protected = _(u"No")
string = string+ _(u"Protected: %s\n") % (protected)
string = string+_(u"Followers: %s\n Friends: %s\n") % (self.data["followers_count"], self.data["friends_count"])
if self.data["verified"] == True: verified = _(u"Yes")
else: verified = _(u"No")
string = string+ _(u"Verified: %s\n") % (verified)
string = string+ _(u"Tweets: %s\n") % (self.data["statuses_count"])
string = string+ _(u"Favourites: %s") % (self.data["favourites_count"])
return string