Mercurial > libervia-backend
changeset 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 | 13b91b7280bc |
children | ec93feac0e74 |
files | sat_frontends/jp/cmd_blog.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
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":