From: epage Date: Thu, 20 Aug 2009 01:26:56 +0000 (+0000) Subject: Putting more things in try/catch X-Git-Url: http://git.maemo.org/git/?a=commitdiff_plain;h=1232e74f4ae9659f4c56d03edb7ba552a2d1ffbf;hp=bc887e08a3cd90c75426d3b0635af82c4df116a1;p=gc-dialer Putting more things in try/catch git-svn-id: file:///svnroot/gc-dialer/trunk@399 c39d3808-3fe2-4d86-a59f-b7f623ee9f21 --- diff --git a/src/alarm_handler.py b/src/alarm_handler.py index b3e015d..2c28990 100644 --- a/src/alarm_handler.py +++ b/src/alarm_handler.py @@ -30,9 +30,9 @@ class AlarmHandler(object): self._launcher = self._LAUNCHER def load_settings(self, config, sectionName): - self._recurrence = config.getint(sectionName, "recurrence") - self._alarmCookie = config.getint(sectionName, "alarmCookie") try: + self._recurrence = config.getint(sectionName, "recurrence") + self._alarmCookie = config.getint(sectionName, "alarmCookie") launcher = config.get(sectionName, "notifier") if launcher: self._launcher = launcher