jp (blog/edit): fixed edition when syntax is specified
This commit is contained in:
parent
8895c9c898
commit
4909433e83
1 changed files with 1 additions and 2 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Reference in a new issue