From 4909433e83805f3dca59438cd5bf4bbefebca161 Mon Sep 17 00:00:00 2001 From: Goffi Date: Sat, 15 Aug 2020 20:29:44 +0200 Subject: [PATCH] jp (blog/edit): fixed edition when syntax is specified --- sat_frontends/jp/cmd_blog.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sat_frontends/jp/cmd_blog.py b/sat_frontends/jp/cmd_blog.py index 37101669..3a6b2dbc 100644 --- a/sat_frontends/jp/cmd_blog.py +++ b/sat_frontends/jp/cmd_blog.py @@ -121,8 +121,7 @@ class BlogPublishCommon(object): else: self.default_syntax_used = False try: - syntax = await self.host.bridge.syntaxGet(self.current_syntax) - + syntax = await self.host.bridge.syntaxGet(self.args.syntax) self.current_syntax = self.args.syntax = syntax except Exception as e: if e.classname == "NotFound":