diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2017-04-17 16:19:06 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2017-04-17 16:19:06 +0300 |
| commit | f536354dad36b61992feef9f8de565510ee4e5a3 (patch) | |
| tree | 2223cd904a0f88a5fde4c3fc161da120b99d539a /radiodiodibot | |
| parent | 6c609d9178a678e2b7c6fb6a17539fc8fe6500a0 (diff) | |
Forward only new messagesmaster
Diffstat (limited to 'radiodiodibot')
| -rwxr-xr-x | radiodiodibot | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/radiodiodibot b/radiodiodibot index c52d777..564ac3e 100755 --- a/radiodiodibot +++ b/radiodiodibot @@ -9,6 +9,7 @@ import os from project import botmanager from project import uptimeservice +from project import shoutboxapicommunicator class BotLauncher(object): CONFIG_FILE = "bot.config" @@ -18,6 +19,7 @@ class BotLauncher(object): """Exit gracefully when receiving an interrupt signal""" logging.info("Stopping uptime services (if any)...") uptimeservice.UptimeService.stop_services() + shoutboxapicommunicator.ShoutboxCommunicator.save_largest_id() print("Exiting radiodiodibot...") sys.exit(0) |
