# HG changeset patch # User Goffi # Date 1597516184 -7200 # Node ID 9dbe2517d1313e548b532a0e1e230f2755350cfe # Parent 13b91b7280bc41389af5b90cc1def8db87c16d14 jp (blog/edit): fixed edition when syntax is specified diff -r 13b91b7280bc -r 9dbe2517d131 sat_frontends/jp/cmd_blog.py --- a/sat_frontends/jp/cmd_blog.py Sat Aug 15 20:29:07 2020 +0200 +++ b/sat_frontends/jp/cmd_blog.py Sat Aug 15 20:29:44 2020 +0200 @@ -121,8 +121,7 @@ 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":