Browse Source

Post message to twitter on 'ok' status

Change-Id: I0c92f52eca7670fa86a1803fd3fb4b01f46f9bc4
changes/99/263099/2
Joshua Hesketh 6 years ago
parent
commit
d95fe85dc4
  1. 5
      statusbot/bot.py

5
statusbot/bot.py

@ -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…
Cancel
Save