From b1014cd31051fe374ac9493011ac47cbe20001ed Mon Sep 17 00:00:00 2001 From: Hannes Schaller Date: Mon, 21 Jun 2021 09:13:42 +0200 Subject: [PATCH] Fix write command for python3 --- etc/generate_actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/generate_actions.py b/etc/generate_actions.py index e3ca38e..988504d 100755 --- a/etc/generate_actions.py +++ b/etc/generate_actions.py @@ -357,7 +357,7 @@ def render_action(self, context): action_filename = "{}/{}.yaml".format(ACTION_DIRECTORY, context['name']) with open(action_filename, "w") as f: - f.write(action_data.encode('ascii', 'ignore')) + f.write(action_data) def render_table_entry(self, context): table_data = self.jinja_render_file(TABLE_TEMPLATE_PATH, context)