Mercurial > libervia-backend
diff sat_frontends/jp/cmd_blog.py @ 3342:9dbe2517d131
jp (blog/edit): fixed edition when syntax is specified
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 15 Aug 2020 20:29:44 +0200 |
parents | 384283adcce1 |
children | be6d91572633 |
line wrap: on
line diff
--- 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":