From 720d23cd1c5402ea6b8b947db28313224df16742 Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 1 Jun 2018 12:02:09 +0200 Subject: [PATCH] jp (blog/preview): fixed guessSyntaxFromPath call --- sat_frontends/jp/cmd_blog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat_frontends/jp/cmd_blog.py b/sat_frontends/jp/cmd_blog.py index 55e20f44..4a942647 100644 --- a/sat_frontends/jp/cmd_blog.py +++ b/sat_frontends/jp/cmd_blog.py @@ -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