From 64dcb4b28217292fe223452f4f01d6fdf1b85204 Mon Sep 17 00:00:00 2001 From: Jeltz Date: Wed, 21 Dec 2022 18:50:05 +0100 Subject: [PATCH] bird: add suffix filter --- filter_plugins/suffix.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 filter_plugins/suffix.py diff --git a/filter_plugins/suffix.py b/filter_plugins/suffix.py new file mode 100644 index 0000000..53c04ac --- /dev/null +++ b/filter_plugins/suffix.py @@ -0,0 +1,9 @@ +class FilterModule: + def filters(self): + return { + "suffix": suffix, + } + + +def suffix(value, suffix): + return value + suffix