Don't traceback on Ctrl+C
This commit is contained in:
parent
4a1995af8d
commit
7061434703
@ -99,7 +99,10 @@ class Bot:
|
||||
|
||||
self._pservice = PresenceService.get_instance()
|
||||
|
||||
gtk.main()
|
||||
try:
|
||||
gtk.main()
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
def add_action(self, action, minutes):
|
||||
self._timeline.add(action, minutes)
|
||||
|
Loading…
Reference in New Issue
Block a user