jp (blog/preview): fixed guessSyntaxFromPath call
This commit is contained in:
parent
4d4d594c60
commit
720d23cd1c
1 changed files with 1 additions and 1 deletions
|
|
@ -561,7 +561,7 @@ class Preview(base.CommandBase):
|
|||
else:
|
||||
self.content_file_path = os.path.abspath(self.args.file)
|
||||
|
||||
self.syntax = self.guessSyntaxFromPath(sat_conf, self.content_file_path)
|
||||
self.syntax = guessSyntaxFromPath(self.host, sat_conf, self.content_file_path)
|
||||
|
||||
|
||||
# at this point the syntax is converted, we can display the preview
|
||||
|
|
|
|||
Loading…
Reference in a new issue