Don't traceback on Ctrl+C
This commit is contained in:
+4
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user