3 from __future__ import with_statement
9 sys.path.insert(0,"/usr/lib/dialcentral/")
16 def notify_on_change():
17 filename = "%s/notification.log" % constants._data_path_
18 with open(filename, "a") as file:
19 file.write("Notification: %r\n" % (datetime.datetime.now(), ))
20 notifyUser = alarm_notify.is_changed()
22 file.write("\tChange occurred\n")
25 if __name__ == "__main__":