projects
/
gc-dialer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Putting more things in try/catch
[gc-dialer]
/
src
/
alarm_handler.py
diff --git
a/src/alarm_handler.py
b/src/alarm_handler.py
index
b3e015d
..
2c28990
100644
(file)
--- 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._launcher = self._LAUNCHER
def load_settings(self, config, sectionName):
- self._recurrence = config.getint(sectionName, "recurrence")
- self._alarmCookie = config.getint(sectionName, "alarmCookie")
try:
try:
+ self._recurrence = config.getint(sectionName, "recurrence")
+ self._alarmCookie = config.getint(sectionName, "alarmCookie")
launcher = config.get(sectionName, "notifier")
if launcher:
self._launcher = launcher
launcher = config.get(sectionName, "notifier")
if launcher:
self._launcher = launcher