Files
role-check-mk-agent/filter_plugins/reslash.py

12 lines
224 B
Python
Raw Normal View History

#!/usr/bin/env python
def filter_reslash(val):
return val.replace('\\', '/')
class FilterModule(object):
filter_map = {
'reslash': filter_reslash
}
def filters(self):
return self.filter_map