mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Jaws interrupt fix
This commit is contained in:
parent
1e9d4432f3
commit
ae6d5b38dd
@ -22,7 +22,7 @@ class Jaws (Output):
|
|||||||
self.object.RunFunction("BrailleString(\"%s\")" % text)
|
self.object.RunFunction("BrailleString(\"%s\")" % text)
|
||||||
|
|
||||||
def speak(self, text, interrupt=False):
|
def speak(self, text, interrupt=False):
|
||||||
self.object.SayString(' %s' % text, True)
|
self.object.SayString(' %s' % text, interrupt)
|
||||||
|
|
||||||
def is_active(self):
|
def is_active(self):
|
||||||
try:
|
try:
|
||||||
|
@ -91,6 +91,9 @@ class profileController(object):
|
|||||||
else: protected = _(u"No")
|
else: protected = _(u"No")
|
||||||
string = string+ _(u"Protected: %s\n") % (protected)
|
string = string+ _(u"Protected: %s\n") % (protected)
|
||||||
string = string+_(u"Followers: %s\n Friends: %s\n") % (self.data["followers_count"], self.data["friends_count"])
|
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"Tweets: %s\n") % (self.data["statuses_count"])
|
||||||
string = string+ _(u"Favourites: %s") % (self.data["favourites_count"])
|
string = string+ _(u"Favourites: %s") % (self.data["favourites_count"])
|
||||||
return string
|
return string
|
||||||
|
Loading…
Reference in New Issue
Block a user