Post message to twitter on 'ok' status
Change-Id: I0c92f52eca7670fa86a1803fd3fb4b01f46f9bc4
This commit is contained in:
parent
b9ea2612f7
commit
d95fe85dc4
@ -191,7 +191,10 @@ class Tweet(UpdateInterface):
|
||||
pass
|
||||
|
||||
def ok(self, msg=None):
|
||||
self.update("Everything back to normal")
|
||||
if msg:
|
||||
self.update(msg)
|
||||
else:
|
||||
self.update("Everything back to normal")
|
||||
|
||||
|
||||
class StatusPage(WikiPage, UpdateInterface):
|
||||
|
Loading…
x
Reference in New Issue
Block a user