Fixing background alarms as well as bumping to 1.3.9
[gc-dialer] / dialcentral / alarm_handler.py
index 16ab6eb..31c0361 100644 (file)
@@ -98,7 +98,7 @@ class _FremantleAlarmHandler(object):
        _INVALID_COOKIE = -1
        _REPEAT_FOREVER = -1
        _TITLE = "Dialcentral Notifications"
-       _LAUNCHER = os.path.abspath(os.path.join(os.path.dirname(__file__), "alarm_notify.py"))
+       _LAUNCHER = "python %s" % os.path.abspath(os.path.join(os.path.dirname(__file__), "alarm_notify.py"))
 
        def __init__(self):
                self._recurrence = 5
@@ -180,7 +180,7 @@ class _DiabloAlarmHandler(object):
 
        _INVALID_COOKIE = -1
        _TITLE = "Dialcentral Notifications"
-       _LAUNCHER = os.path.abspath(os.path.join(os.path.dirname(__file__), "alarm_notify.py"))
+       _LAUNCHER = "python %s" % os.path.abspath(os.path.join(os.path.dirname(__file__), "alarm_notify.py"))
        _REPEAT_FOREVER = -1
 
        def __init__(self):