core/source/notification_channels/file_touch.py

20 lines
328 B
Python
Raw Normal View History

class implementation_notification_channel_file_touch(interface_notification_channel):
'''
[implementation]
'''
def normalize_conf_node(self, node):
return dict_merge(
{
},
node
)
'''
[implementation]
'''
def notify(self, parameters, name, data, state, output):
_os.path.touch(parameters["path"])