jp (blog/edit): fixed edition when syntax is specified

This commit is contained in:
Goffi 2020-08-15 20:29:44 +02:00
commit 4909433e83

View file

@ -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":