# HG changeset patch # User Goffi # Date 1527847329 -7200 # Node ID 0b6adc2672d9ca2a64d1642e45c0f72baf554904 # Parent 9446f1ea9eac93596dd1428c54af19ed927fd2c8 jp (blog/preview): fixed guessSyntaxFromPath call diff -r 9446f1ea9eac -r 0b6adc2672d9 sat_frontends/jp/cmd_blog.py --- a/sat_frontends/jp/cmd_blog.py Fri May 25 10:52:01 2018 +0200 +++ b/sat_frontends/jp/cmd_blog.py Fri Jun 01 12:02:09 2018 +0200 @@ -561,7 +561,7 @@ 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