jp (blog): fixed syntax guessing on existing files
This commit is contained in:
parent
e2eb4672b0
commit
49f2646315
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class BlogCommon(object):
|
|||
if ext:
|
||||
for k,v in SYNTAX_EXT.iteritems():
|
||||
if ext == v:
|
||||
return v
|
||||
return k
|
||||
|
||||
# if not found, we use current syntax
|
||||
return self.host.bridge.getParamA("Syntax", "Composition", "value", self.profile)
|
||||
|
|
|
|||
Loading…
Reference in a new issue