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